Commit 6389b62d by BellCodeEditor

save project

parent 99c83828
Showing with 18 additions and 0 deletions
for i in range(1,20):
for j in range(1,i+1):
print(j,"*",i,"=",(i*j),end=" ")
print()
\ No newline at end of file
import turtle
pen=turtle.Pen()
pen.speed(300)
screen=turtle.Screen()
screen.bgcolor("pink")
colors=["red","orange","yellow","green","blue"]
for i in range(1,500):
pen.pencolor(colors[i%5])
pen.forward(i)
pen.right(145)
pen.hideturtle()
turtle.done()
\ 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