$ ./guess_the_language
Problem Solving — predict the output
Problem Solving — predict the output · hard · #127
What is printed?
print(float('inf') > 10 ** 100, int(True) + int(True))
True 2
False 2
True 1
False 1
Infinity exceeds any finite integer, and int(True) is 1.
Play Problem Solving ▸
◂ #126
all Problem Solving — predict the output questions
#128 ▸