Scripts pour dessiner des polygones étoilés.
from math import * from turtle import * def cinq_branches(): for i in range(5): forward(100) right(144) def onze_branches(): for i in range(11): forward(100) right(180-900/11) def polygone(n,angle): for i in range(n): forward(100) right(180-angle)