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