Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from turtle import *
- tom = Turtle()
- # sides = 5
- # for x in range(sides):
- # tom.forward(100)
- # tom.left(180-(180/sides))
- tom.color("red")
- tom.pensize(3)
- # radius = 25
- # for x in range(4):
- # tom.circle(radius)
- # radius = radius + 25
- # sides = 5
- # length = 10
- # for x in range(sides*5):
- # tom.forward(length)
- # tom.left(180-(180/sides))
- # length = length + 10
- for x in range(4):
- tom.circle(35)
- tom.penup()
- tom.forward(45)
- tom.pendown()
- done()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement