Commit 864d7160 by BellCodeEditor

save project

parent 589b0ce8
Showing with 7 additions and 11 deletions
import turtle a=['1','3','4','5']
color=["red","yellow","green","orange"] a.insert(1,"2")
pen=turtle.Pen() a.append("6")
a="9"+input("个位") b=['7']
for i in range(1,400): a.extend(b)
pen.pencolor(color[i%4]) print(a)
pen.forward(i) \ No newline at end of file
pen.right(int(a))
pen.hideturtle()
turtle.done
\ 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