Commit 9b0b5756 by BellCodeEditor

save project

parent 032d0219
Showing with 13 additions and 11 deletions
sa=["关羽","刘备","张飞"] import turtle
sa[0]="张飞" # pen=turtle.Pen()
sa[2]="关羽" # pen.write("迟日江山丽,\n春风花草香。\n泥融飞燕子,\n春暖睡鸳鸯",font=("Times",30,"normal"))
print(sa) # pen.hideturtle()
sa.remove('刘备') # turtle.done()
sa.pop(0) pen1=turtle.Pen()
print(sa) pen1.left(45)
sa=['张飞'] pen1.forward(100)
l=['刘备','关羽'] pen1.circle(50,180)
sa.extend(l) pen1.right(90)
print(sa) pen1.circle(50,180)
pen1.forward(100)
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