0
Can someone explain me
meaning of this ==
5 Respostas
+ 5
'Equal to' sign, let's say a is 5, if you do if (a == 4) it will return false.
+ 1
== is equality checking operator ,, its check two value is equal or not .. like a=2,b=3,c=2 here a==c that is true and a==b that is not true
+ 1
if you put = for exemple a=b, this will be interpreted as 'a' takes the value of 'b'. a==b means to check if a is equal to b, like when you say a>b means to check if a>b.
a=0
b=1
print(a==b) #False
a=b
print(a==b) #True
0
thanks to all
0
== check two value is equal or not