xxxxxxxxxx
import turtle
# 定义变量
t = turtle.Turtle()
t.hideturtle()
greet = "欢迎来到阿波罗源码世界"
font=("Script MT Bold", 20, "bold")
colors = ["red", "orange","yellow"]
for a in range(10):
t.color(colors[a%3])
t.write(greet,align="center",font=font)
t.left(90)
# 输出
print('hello, 阿波罗')
输入框