0

Can someone explain me

meaning of this ==

12th Jan 2017, 5:20 AM
nikhil patel
nikhil patel - avatar
5 Respostas
+ 5
'Equal to' sign, let's say a is 5, if you do if (a == 4) it will return false.
12th Jan 2017, 5:22 AM
David Sebastian Keshvi Illiakis
David Sebastian Keshvi Illiakis - avatar
+ 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
12th Jan 2017, 5:24 AM
Suman Dey
Suman Dey - avatar
+ 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
12th Jan 2017, 9:44 AM
ramzi
ramzi - avatar
0
thanks to all
12th Jan 2017, 5:31 AM
nikhil patel
nikhil patel - avatar
0
== check two value is equal or not
18th Jan 2017, 5:10 AM
Abhinav Ojha
Abhinav Ojha - avatar