
import turtle |
import time |
light = turtle.Turtle() |
light.hideturtle() |
light.screen.delay(0) |
light.color("red", "red") |
light.begin_fill() |
light.circle(100) |
light.end_fill() |
time.sleep(1) |
light.color("green", "green") |
light.begin_fill() |
light.circle(100) |
light.end_fill() |
time.sleep(1) |
light.color("yellow", "yellow") |
light.begin_fill() |
light.circle(100) |
light.end_fill() |
time.sleep(1) |



