Advertisement
Guest User

Untitled

a guest
Sep 29th, 2016
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. from turtle import *
  2. s = Screen()
  3. s.setup(width=1200, height=900)
  4.  
  5. s.clear()
  6. s.bgcolor("Seashell3")
  7. t = Turtle()
  8. t.pencolor("LightGoldenRod1")
  9. myColors=["Skyblue3","Brown3"]
  10. t.width(5)
  11. t.speed(100)
  12.  
  13. t.pu()
  14. t.goto(-320,320)
  15. t.pd()
  16. t.goto(320,320)
  17. t.goto(320,-320)
  18. t.goto(-320,-320)
  19. t.goto(-320,320)
  20.  
  21. for c in range(8):
  22. for a in range(8):
  23. t.fd(80)
  24. for b in range (4):
  25. t.rt(90)
  26. t.fd(80)
  27. t.rt(90)
  28. t.fd(80)
  29. t.rt(90)
  30. t.fd(640)
  31. t.seth(0)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement