Commit 43312cee by BellCodeEditor

save project

parent f25effac
Showing with 18 additions and 0 deletions
for i in range(1,10):
for j in range(1,i+1):
print(j,"*",i,"=",(j*i),end=" ")
print()
\ No newline at end of file
import turtle
p=turtle.Pen()
s=turtle.Screen()
i=["red","blue","yellow","green"]
s.bgcolor("black")
p.hideturtle()
p.speed(0)
for a in range(1,500):
p.pencolor(i[a%4])
p.forward(a)
p.right(91)
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