$ ./guess_the_language
Problem Solving — predict the output
Problem Solving — predict the output · hard · #48
What is printed?
print(3 * "5" if False else 2 + 3)
555
23
5
6
The condition is False so the else branch 2 + 3 = 5 runs.
Play Problem Solving ▸
◂ #47
all Problem Solving — predict the output questions
#49 ▸