The step of range

Predict the output · Basic · §7.1 Repeating

Predict the output without running the code.

Code

print(list(range(2, 9, 3)))

Solve this problem in your browser

Python runs in your browser and checks your answer right away. Hints and the answer are on the problem page.