Rows of Emojis
Use loops.
Loops Are Magic 🔁
A loop lets us repeat something many times without typing it again and again! 🤩
Let's make rows of emojis super fast.
Counting With range 🔢
range(5) counts 0, 1, 2, 3, 4 — that's 5 times!
A for loop uses range to repeat.
for i in range(5):
print('🐠')All lessons in this course
- Printing Emojis
- Rows of Emojis
- Emoji Pictures
- Your Own Emoji Art