Commit e68fc08c by BellCodeEditor

save project

parent ceeac01f
Showing with 7 additions and 2 deletions
...@@ -5,13 +5,13 @@ screen=turtle.Screen() ...@@ -5,13 +5,13 @@ screen=turtle.Screen()
screen.bgcolor("black") screen.bgcolor("black")
# 请创造师在下面接着创作 # 请创造师在下面接着创作
colors=["red","pink","blue","green"] colors=["red","pink","red","pink"]
pen.speed(0) pen.speed(0)
distance=1 distance=1
for i in range(1,300): for i in range(1,300):
pen.forward(i) pen.forward(i)
pen.color(colors[i%4]) pen.color(colors[i%4])
pen.right(100000000000000000000) pen.right(121)
# 隐藏画笔,保存画布 # 隐藏画笔,保存画布
pen.hideturtle() pen.hideturtle()
turtle.done() turtle.done()
\ No newline at end of file
for i in range(1,10):
for j in range(1,i+1):
print(i,"X",j,"=",(i*j),end=" ")
print()
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