MUstar

IoT Pyrhon3 0814 - Turtle_Draw2

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

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×