Commit ceaf8b5d by BellCodeEditor

save project

parent 1dea73da
Showing with 3 additions and 6 deletions
...@@ -13,10 +13,8 @@ ...@@ -13,10 +13,8 @@
# print("欢迎来到贝尔编程!") # print("欢迎来到贝尔编程!")
import turtle import turtle
pen=turtle.Pen() pen=turtle.Pen()
d=1 for i in range (1,300):
for i in range (300): pen.forward(i)
pen.forward(d)
d=d+1
pen.right(91) pen.right(91)
pen.hideturtle() pen.hideturtle()
turtle.done() 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