Commit f5fd29b2 by BellCodeEditor

save project

parent 2f71da76
Showing with 4 additions and 13 deletions
import turtle for i in range(1,10):
p=turtle.Pen() for j in range(1,i+1):
p.speed(0) print(j,"*",i,"=",i*j,end=" ")
s=turtle.Screen() print("\n")
s.bgcolor("black")
color=["red","orange","blue","green"]
for i in range(500):
p.fd(i)
p.rt(91)
p.pencolor(color[i%4])
p.hideturtle()
p.end_fill()
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