$ ./guess_the_languageProblem Solving — predict the output
Problem Solving — predict the output · easy · #90

What is printed?

print('5' * 3, [1, 2] * 2)
  1. 555 [1, 2, 1, 2]
  2. 15 [2, 4]
  3. 555 [1, 1, 2, 2]
  4. 15 [1, 2, 1, 2]
Multiplying a sequence repeats it rather than doing arithmetic.
Play Problem Solving ▸