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

What is printed?

print("ab" * 3)
  1. ababab
  2. abababab
  3. ab3
  4. ab ab ab
Multiplying a string repeats it: "ab" three times.
Play Problem Solving ▸