Commit 6ac3779c by BellCodeEditor

save project

parent 8678303b
Showing with 5 additions and 14 deletions
import turtle bros=["刘备","关羽","张飞"]
pen = turtle.Pen() bros[0]="关羽"
pen.speed(0) bros[1]="刘备"
a=2 print(bros)
aa=["red","yellow","purple","pink","green","blue"] \ No newline at end of file
for i in range(400):
pen.forward(a)
pen.right(913)
a+=
pen.color(aa[i%6])
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