Ma chaine Youtube consacrée aux maths, à la programmation en Python, aux calculatrices, Excel, etc.
import turtle t = turtle for [x,y] in [[-160,-97],[160,-97],[0,-207],[0,13]]: t.penup() t.goto(x,y) t.pendown() t.circle(97) t.hideturtle()
Voir programme ci-dessous
import turtle t = turtle for [x,y,h] in [[-160,-97,0],[160,97,-180],[97,-110,90],[-97,110,-90]]: t.penup() t.goto(x,y) t.pendown() t.setheading(h) t.circle(97,180) t.hideturtle()