Advertisement
MUstar

IoT Pyrhon3 0814 - Turtle_Draw1

Aug 15th, 2017
263
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.26 KB | None | 0 0
  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)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement