Advertisement
ZEdKasat

Trial Code

Dec 10th, 2021
221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.62 KB | None | 0 0
  1. from turtle import *
  2.  
  3. tom = Turtle()
  4. tom.speed(0)
  5.  
  6. # sides = 21
  7. # for x in range(sides):
  8. #   tom.forward(120)
  9. #   tom.left(180-(180/sides))
  10.  
  11. # radius = 25
  12. # for x in range(25):
  13. #   tom.circle(radius)
  14. #   radius = radius + 5
  15.  
  16. # for x in range(4):
  17. #   tom.circle(35)
  18. #   tom.penup()
  19. #   tom.forward(40)
  20. #   tom.pendown()
  21.  
  22. # sides = 11
  23. # length = 15
  24. # for x in range(sides*5):
  25. #   tom.forward(length)
  26. #   tom.left(180-(180/sides))
  27. #   length = length + 5
  28. #   # tom.left(360/sides)
  29.  
  30. radius = 25
  31. for x in range(3):
  32.   for x in range(8):
  33.     tom.circle(radius)
  34.     tom.left(45)
  35.   radius = radius + 25
  36.  
  37. done()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement