Commit 6a9f3dc2 by BellCodeEditor

save project

parent 67a96308
Showing with 12 additions and 2 deletions
import turtle
for i in range(1,10): for i in range(1,10):
for j in range(1,i+1): for j in range(1,i+1):
print(i,"*",j,"=",(i*j),end=(" ")) print(i,"*",j,"=",(i*j),end=(" "))
print() print()
\ No newline at end of file pen=turtle.Pen()
screen=turtle.Screen()
screen.bgcolor("black")
colors=["green","red","orange","yellow"]
for i in range(1,10001):
pen.pencolor(colors[i%4])
pen.forward(i)
pen.right(91)
pen.hideturtle()
turtle.done()
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