$ ./guess_the_language
Problem Solving — predict the output
Problem Solving — predict the output · easy · #24
What is printed?
print(bool(0))
True
0
None
False
0 is falsy, so bool(0) is False.
Play Problem Solving ▸
◂ #23
all Problem Solving — predict the output questions
#25 ▸