Many Shapes
Draw lots of shapes.
Draw Lots of Shapes! 🔺🟦⭐
One shape is fun, but LOTS of shapes is even better! 🎉
Today we'll learn how to draw many shapes without writing the same code over and over. Let's go! 🚀
import turtle
t = turtle.Turtle()
t.circle(40)A Loop Repeats Things 🔁
Writing the same line 4 times is tiring! 😫
A loop lets us repeat code. for i in range(4): means 'do this 4 times!' 🔁
for i in range(4):
print('Hello!')