Commit 0ebba957 by BellCodeEditor

save project

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