Commit c82e92fa by BellCodeEditor

save project

parent 743bb799
Showing with 9 additions and 12 deletions
import turtle
bro1="刘备"
bro3="张飞"
bros=["刘备","关羽","张飞"]
bro1=["刘备",1669.1]
bro2=["关羽",1608.5]
bro3=["张飞",1668.3]
bros[0]="关羽"
bros[1]="刘备"
print(bros)
pen=turtle.Pen()
screen=turtle.Screen()
screen=turtle.bgcolor("black")
colores=["red","yellow","green","blue"]
for i in range(1,300):
pen.forward(i)
pen.pencolor(colores[i%4])
pen.right(91)
pen.hibeturtie()
turtie.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