Commit 0ebba957 by BellCodeEditor

save project

parent 986769de
Showing with 16 additions and 12 deletions
import turtle # import turtle
pen=turtle.Pen() # pen=turtle.Pen()
screen=turtle.Screen() # screen=turtle.Screen()
screen.bgcolor("black") # screen.bgcolor("black")
l=["red","pink","brown","blue"] # l=["red","pink","brown","blue"]
for i in range(1,301,1): # for i in range(1,301,1):
pen.pencolor(l[i%4]) # pen.pencolor(l[i%4])
pen.forward(i) # pen.forward(i)
pen.right(91) # pen.right(91)
pen.hideturtle() # pen.hideturtle()
turtle.done() # turtle.done()
\ No newline at end of file i=1
j=1
for j in range(1,10):
print(i,"x",j,"=","15",end="||")
\ 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