Commit d8c5da8a by BellCodeEditor

save project

parent b0eebf33
Showing with 13 additions and 8 deletions
...@@ -3,14 +3,19 @@ pen=turtle.pen() ...@@ -3,14 +3,19 @@ pen=turtle.pen()
screen=turtle.Streen() screen=turtle.Streen()
screen.bgcolor("black") screen.bgcolor("black")
colors=["red","orange","yellow","green"] # colors=["red","orange","yellow","green"]
for i in range(1,300): # for i in range(1,300):
for i in range(4): # for i in range(4):
pen.pencolor(colors[i%4]) # pen.pencolor(colors[i%4])
pen.forward(i) # pen.forward(i)
pen.right(91) # pen.right(91)
turtle.hideturtle() # turtle.hideturtle()
turtle done() # turtle done()
i=5
j=7
print(i,"*",j,"="i*j")
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