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

What is printed?

print(list(range(2, 10, 3)))
  1. [2, 5, 8]
  2. [2, 5, 8, 11]
  3. [3, 6, 9]
  4. [2, 4, 6, 8]
range starts at 2, steps by 3 and stops before 10.
Play Problem Solving ▸