+ 1

What does == mean in python??

29th May 2019, 3:38 PM
Subash Kumar Pun
Subash Kumar Pun - avatar
4 Answers
+ 5
As mohamad hani told you , This is known as == equality operator . It compares two values and find whether they are equal or not. such as print(7==7) Output : true And print(7==4) Output : false Thanks
29th May 2019, 4:02 PM
Prince PS[Not_Active]
Prince PS[Not_Active] - avatar
+ 2
It compares two values and if they are equal then the statement is true a = 2 b = 2 If a == b: print("true")
29th May 2019, 3:46 PM
Mo Hani
Mo Hani - avatar
0
it means"="
2nd Jun 2019, 2:49 AM
MAAROUF Abdelfatah
MAAROUF Abdelfatah - avatar