+ 1
What is the function Of == in python
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
+ 1
is equal to
+ 1
'==' is used to compare of two values are equal.
The output using this is boolean i.e either true or false.