Skip to main content
← CoursesPython FoundationsModule 3 · Functions and stringsFillings: double cyclefill41 / 170
💬 Discuss🧪 Playground+100 XP
Task
📝 **Task:** Fill in the gap to print a 3×3 multiplication table. ``` 1 2 3 2 4 6 3 6 9 ``` 📋 **Steps:** 1. Outer loop for rows: `for row in range(1, 4)` 2. Inner loop for cols: `for col in range(1, 4)` 3. Print `row * col` with `end=" "` 4. After each row, empty `print()` 💡 **Similar example (addition 2×2):** ```python for i in range(1, 3): for j in range(1, 3): print(i + j, end=" ") print() ```

Keep going

✏️ Write your code here
🐍
Loading Python...
First visit only — ~5-10s. Stays cached afterward.
📊 Result
Press Run to see result...
📣 Help someone learn PythonShare this lesson with a friend — the first 15 are free, no signup.Tweet

💬 Discussion

Be the first to ask a question or share a tip.
Sign in to join the discussion. Reading is free.
Loading discussion…