$ ./guess_the_language
Problem Solving — predict the output
Problem Solving — predict the output · medium · #31
What is printed?
print(True + True)
True
1
TrueTrue
2
Booleans act as integers, so True + True is 2.
Play Problem Solving ▸
◂ #30
all Problem Solving — predict the output questions
#32 ▸