Commit 63c03701 by BellCodeEditor

save project

parent 85ecf6a2
Showing with 4 additions and 11 deletions
import turtle for i in range(1,10):
pen=turtle.Pen() for j in range(1,i):
colors=["green","red","orange","yellow"] print(j,"*",i,"=",j*i,end=" ")
for i in range(1,300,1): print()
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