🔒 Preview mode. The first 15 Foundations lessons are free; this one is Pro. Start a 7-day trial to unlock the editor, AI hints and the rest of the curriculum. Card required, cancel any time in Dashboard.Start 7-day trial →
📝 **Task:** Predict the output of the loop.
```python
for i in range(3):
print(i * 2)
```
📋 Enter three numbers on separate lines.
💡 **Hint:** `range(3)` gives 0, 1, 2. You multiply each by 2.