Commit 21ff5502 by BellCodeEditor

save project

parent 9490aa7f
Showing with 5 additions and 1 deletions
...@@ -5,7 +5,7 @@ pen.speed(0) ...@@ -5,7 +5,7 @@ pen.speed(0)
screen=turtle.Screen() screen=turtle.Screen()
screen.bgcolor("black") screen.bgcolor("black")
colors=["red","yellow","blue","green"] colors=["red","yellow","blue","green"]
for i in range(1,2000) for i in range(1,2000):
pen.pencolor(colors[i%4]) pen.pencolor(colors[i%4])
pen.forward(i) pen.forward(i)
pen.right(91) pen.right(91)
......
for i in range(1,10):
for j in range(1,i+1):
print(j,"*","=",(j*i),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