Commit 9744a0f0 by BellCodeEditor

auto save

parent 4ea37e4a
Showing with 16 additions and 2 deletions
......@@ -5,12 +5,16 @@
import turtle
pen = turtle.Pen()
colors=["red","orange","yellow","green","blue"]
# 请创造师在下面接着创作
distance=1
for i in range(300):
for i in range(30000000):
pen.forward(distance)
pen.pencolor(colors[i%4])
pen.speed(100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)
distance+=1
pen.right(121)
pen.right(165)
# 隐藏画笔,保存画布
pen.hideturtle()
turtle.done()
\ No newline at end of file
# = 5 # 行
# = 5 # 行
#j = 1 # 列
# 使用变量i和j,代替乘法算式里面的元素,打印出单个乘法算式
for j in range(9,0,-1):
for i in range(1,j+1):
print(i,"*",j,"=",(i*j),end=" ")
print()
\ 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