Commit 4319887d by BellCodeEditor

save project

parent 8f68982f
Showing with 6 additions and 5 deletions
import turtle
a = turtle.Pen()
s=["red","blue","green","yellow"]
a.hideturtle()
d=1
a.speed(0)
for i in range(1000):
a.forward(d)
for i in range(1,501):
a.pencolor(s[i%4])
a.forward(i)
a.right(91)
d+=1
turtle.done()
\ No newline at end of file
a=["关羽","刘备","张飞"]
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment