$ ./guess_the_language
Problem Solving — predict the output
Problem Solving — predict the output · medium · #38
What is printed?
print(2 == 2.0)
True
False
1
None
Python compares int and float by value, so 2 equals 2.0.
Play Problem Solving ▸
◂ #37
all Problem Solving — predict the output questions
#39 ▸