Untitled
unknown
plain_text
3 years ago
234 B
5
Indexable
from turtle import *
def dessinePolygone(nbCotes, lng, posBas=(0,0), couleur = "blue"):
color(couleur)
penup()
goto(posBas)
pendown()
for y in range(nbCotes):
forward(lng)
left(int(360 / nbCotes))Editor is loading...