MUstar

IoT Pyrhon3 0814 - Turtle_Draw1

Aug 15th, 2017
69
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import turtle as t
  2.  
  3. #삼각형
  4. t.forward(100)
  5. t.left(120)
  6. t.forward(100)
  7. t.left(120)
  8. t.forward(100)
  9. t.left(120)
  10.  
  11. #사각형
  12. t.forward(100)
  13. t.left(90)
  14. t.forward(100)
  15. t.left(90)
  16. t.forward(100)
  17. t.left(90)
  18. t.forward(100)
  19. t.left(90)
  20.  
  21. #원
  22. t.circle(50)
RAW Paste Data