Untitled

Anonymous
plain_text
11/21/2022 3:26 PM
312 B
15
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...