MUstar

IoT Python3 0814 - Turtle_Pentagon

Aug 15th, 2017
64
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import turtle as t
  2. n=5
  3. t.color("purple")
  4. t.begin_fill()
  5. for x in range(n):
  6.     t.forward(50)
  7.     t.left(360/5)
  8. t.end_fill()
RAW Paste Data