Commit ea6f3e7c by BellCodeEditor

auto save

parent 0eda7223
Showing with 9 additions and 6 deletions
for i in range(1,10):
for j in range(1,i+1):
print(i,"*",j,"=",i*j,end=" ")
print()
\ No newline at end of file
...@@ -5,13 +5,11 @@ ...@@ -5,13 +5,11 @@
import turtle import turtle
pen = turtle.Pen() pen = turtle.Pen()
pen.speed(-50)
# 请创造师在下面接着创作 # 请创造师在下面接着创作
c=["red","green","orange","yellow"] distance=1
for i in range(1,50000): for i in range(300):
pen.pencolor(c[i%4]) pen.forward(distance)
pen.forward(i) distance+=1
pen.right(91) pen.right(91)
# 隐藏画笔,保存画布 # 隐藏画笔,保存画布
pen.hideturtle() pen.hideturtle()
......
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