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( 5 ) |
light.color( "green" , "green" ) |
light.begin_fill() |
light.circle( 100 ) |
light.end_fill() |
time.sleep( 5 ) |
初级程序员
by: 云代码会员 发表于:2021-12-25 14:51:57 顶(0) | 踩(0) 回复
真好
回复评论