Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import turtle
- import math
- t = turtle.Turtle()
- def poligono(t, lunghezza, angolo, linee):
- for i in range(linee):
- t.forward(lunghezza)
- t.right(angolo)
- turtle.mainloop()
- poligono(t, 100, 55, 18)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement