$ ./guess_the_language
Problem Solving — predict the output
Problem Solving — predict the output · hard · #128
What is printed?
print('ab' * 0, len('ab' * 0), [] * 5)
0 []
ab 2 []
0 [[]]
None 0 []
Multiplying a sequence by zero empties it, so nothing is printed for it.
Play Problem Solving ▸
◂ #127
all Problem Solving — predict the output questions
#129 ▸