Commit 4547c7cf by BellCodeEditor

save project

parent 59502178
Showing with 3 additions and 2 deletions
......@@ -7,7 +7,7 @@ w = turtle.Screen()
w.bgcolor('wheat') # wheat小麦
pen.speed(0)
def bnm(n):
if n>=50:
if n>=0:
pen.forward(n)
pen.right(30)
......@@ -25,5 +25,5 @@ pen.up()
pen.backward(150) # 后退
pen.down()
bnm(100)
bnm(60)
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