python value equality code example
Example 1: python string equality
str = "hello"
print("hello" == "hello") # prints True
Example 2: python test for equality
0 == 0
#True
1 == 0
#False
0 = 0
1 = 0
#Error
str = "hello"
print("hello" == "hello") # prints True
0 == 0
#True
1 == 0
#False
0 = 0
1 = 0
#Error