Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from turtle import *
- tom = Turtle()
- # # sides = int(input("Enter number of sides: "))
- # sides = 5
- # # sides = int("5")
- # for manis_crassicoudata in range(sides):
- # tom.forward(100)
- # # tom.left(360/sides)
- # tom.left(180-(180/sides))
- ### Use "CTRL + /" to comment and uncomment
- # radius = 50
- # for x in range(4):
- # tom.circle(radius)
- # radius = radius + 20
- # tom.speed(0)
- # sides = 5
- # l = 10
- # for manis_crassicoudata in range(sides*4):
- # tom.forward(l)
- # l += 10 # l = l + 10
- # tom.left(180-(180/sides))
- # tom.circle(l)
- # tom.color("red")
- # tom.pensize(3)
- # for x in range(4):
- # tom.circle(35)
- # tom.penup()
- # tom.forward(40)
- # tom.pendown()
- tom.goto(-50, 50)
- done()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement