Commit 28e21fe5 by BellCodeEditor

save project

parent 5db19e39
Showing with 20 additions and 10 deletions
a=10 # 悟空想海龟作图画出弹簧隧道,但是出现了bug,运行不了,请你帮助他,修改bug~
b=10 import turtle
def f1(): pen=turtle.Pen()
a=a+b screen=turtle.Screen()
pen.speed()
pen.hideturtle()
screen.bgcolor('black')
pen.speed(0)
i=0
while i<360:
pen.pencolor('pink')
pen.penup()
pen.goto(0,0)
pen.forward(200)
pen.pendown()
pen.circle(100)
pen.left(2)
i+=1
def f2(): turtle.done()
b=b+a \ No newline at end of file
f1()
f2()
\ 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