What is the function Of == in python | Sololearn: Learn to code for FREE!
+ 1

What is the function Of == in python

28th Mar 2018, 9:51 PM
Amanze Kelechi
3 Answers
+ 1
== compares two values if they're the same 4 == 5 - false 6 == 6 - true 5.43 == 12.32 - false 11.45 == 11.45 - true
28th Mar 2018, 9:53 PM
TurtleShell
TurtleShell - avatar
+ 1
is equal to
28th Mar 2018, 9:55 PM
Wolf Web
Wolf Web - avatar
+ 1
'==' is used to compare of two values are equal. The output using this is boolean i.e either true or false.
29th Mar 2018, 12:29 PM
Mitali
Mitali - avatar