Advertisement
cardel

G29 Tortuga 1

Jun 14th, 2021
1,207
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.62 KB | None | 0 0
  1. import turtle
  2.  
  3. tortuga = turtle
  4. tortuga.setup(800,800,0,0)
  5. tortuga.screensize(800,800)
  6. tortuga.showturtle()
  7.  
  8. tortuga.forward(200)
  9. tortuga.left(60)
  10. tortuga.forward(200)
  11. tortuga.left(80)
  12. tortuga.color("red")
  13. tortuga.forward(100)
  14. tortuga.penup()
  15. tortuga.forward(200)
  16. tortuga.left(100)
  17. tortuga.pendown()
  18. tortuga.forward(100)
  19. tortuga.penup()
  20. tortuga.goto(-100,-100)
  21. tortuga.pendown()
  22.  
  23. tortuga.begin_fill()
  24. tortuga.color("blue")
  25. tortuga.penup()
  26. tortuga.goto(200,200)
  27. tortuga.pendown()
  28. tortuga.goto(200,-200)
  29. tortuga.goto(0,-200)
  30. tortuga.goto(0,200)
  31. tortuga.goto(200,200)
  32. tortuga.end_fill()
  33.  
  34. tortuga.mainloop()
  35.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement