turtle_prof_tuto001_py.py

Created by niz-moussatat

Created on June 28, 2022

311 Bytes

Un script pour dessiner la lettre J


# Type your text here
from turtle import *           # charge le module turtle
color(255,0,0) # Rouge Vert Bleu
penup()
goto(0,0)
pensize(1) 
pendown()           # stylo en position écriture

setheading(-90)
circle(50, 180)    # demicercle (180 degrés) de rayon 50.
forward(100)