Advertisement
Guest User

Untitled

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