$ ./guess_the_language
Problem Solving — predict the output
Problem Solving — predict the output · easy · #92
What is printed?
print(sum([True, True, False]))
2
3
1
TypeError
Booleans are integers in Python, so True adds 1.
Play Problem Solving ▸
◂ #91
all Problem Solving — predict the output questions
#93 ▸