Commit 866f6b11 by BellCodeEditor

save project

parent 804e0811
Showing with 11 additions and 13 deletions
bro1="刘备"
import turtle bro2="关羽"
bro3="张飞"
pen = turtle.Pen() bros = ["刘备","关羽","张飞"]
screen=turtle.Screen() bro1=["刘备",161,9.1]
screen.bgcolor("light pink") bro2=["关羽",160,8.5]
colors=["green","red"] bro3=["张飞",166,8.3]
for i in range(1,300): bros[0] = "关羽"
pen.pencolor(colors[i%2]) bros[1] = "刘备"
pen.forward(i) print(bros)
pen.right(91) \ No newline at end of file
pen.hideturtle()
turtle.done()
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