Ligne 63 : |
Ligne 63 : |
| t = turtle.Turtle() | | t = turtle.Turtle() |
| | | |
− | for c in ['red', 'green', 'yellow', 'blue']: | + | # Cycler dans les couleurs |
− | t.color(c) | + | for c in ['red', 'green', 'yellow', 'blue']: |
− | t.forward(75) | + | t.color(c) # Fixer la couleur |
− | t.left(90) | + | t.forward(75) # Avancer |
| + | t.left(90) # Tourner a gauche de 90 degrés |
| </syntaxhighlight> | | </syntaxhighlight> |
| | | |