Question: What will be the output of the following code: \'for i in range(3): print(i)\'?
Options:
Correct Answer: 0 1 2
Solution:
The loop iterates from 0 to 2, so the output will be \'0 1 2\'.