$ ./guess_the_language
Problem Solving — predict the output
Problem Solving — predict the output · easy · #90
What is printed?
print('5' * 3, [1, 2] * 2)
555 [1, 2, 1, 2]
15 [2, 4]
555 [1, 1, 2, 2]
15 [1, 2, 1, 2]
Multiplying a sequence repeats it rather than doing arithmetic.
Play Problem Solving ▸
◂ #89
all Problem Solving — predict the output questions
#91 ▸