Advertisement
Guest User

Untitled

a guest
Aug 23rd, 2019
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. import turtle
  2. import math
  3. t = turtle.Turtle()
  4.  
  5.  
  6.  
  7. def poligono(t, lunghezza, angolo, linee):
  8. for i in range(linee):
  9. t.forward(lunghezza)
  10. t.right(angolo)
  11.  
  12. turtle.mainloop()
  13.  
  14.  
  15. poligono(t, 100, 55, 18)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement