Asked 3 years ago
19 Sep 2021
Views 570
Amina

Amina posted

Is not vs == in Python?

Is not vs == in Python?
python

python
answered Sep 24 '21 00:00

is not and == , both are opposite to each other as per functionality.
is not is condition operator which checks given two objects or variables are not equal.
== is condition operator which checks given two object or variables are equal.

is not and != are equal as per functionality.
Post Answer