0
What == means in Python
???
2 Respuestas
+ 2
== is checking if something is equal to something else
= is for assigning a value
if 3 == 3.0:
print(True)
True
'3' = 5
if '3' == 5:
print(True)
True
0
== is a boolean for checking whether something is equal to other or not.
for eg.
>>>print(2==2)
true
>>>print(2==3)
false