Commit 46e24081 by BellCodeEditor

auto save

parent 598c660b
Showing with 2 additions and 2 deletions
...@@ -8,8 +8,8 @@ screen.bgcolor("black") ...@@ -8,8 +8,8 @@ screen.bgcolor("black")
colors=["skyblue","yellow","white","pink"] colors=["skyblue","yellow","white","pink"]
pen = turtle.Pen() pen = turtle.Pen()
# 请创造师在下面接着创作 # 请创造师在下面接着创作
i= p=screen.textinput("重复多少次")
o=int(i) o=int(p)
for i in range(10,o,1): for i in range(10,o,1):
pen.pencolor(colors[i%4]) pen.pencolor(colors[i%4])
pen.forward(i) pen.forward(i)
......
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