TurtleCool
x
1
import turtle
2
t = turtle.Turtle()
3
for c in ['red', 'green', 'yellow', 'blue']:
4
t.color(c)
5
t.forward(75)
6
t.left(90)
7
TurtleCool
import turtle
t = turtle.Turtle()
for c in ['red', 'green', 'yellow', 'blue']:
t.color(c)
t.forward(75)
t.left(90)
Output