Commit b02ab67d by BellCodeEditor

save project

parent fee8bf50
Showing with 3 additions and 11 deletions
import turtle
i=5
j=7
print(j,'*',i,'=',(j*i))
pen = turtle.pen()
screen.turtle.Screen()
screen.bgcolor("black")
color=["red","orange","yellow","green"]
for i in range(1,300):
pen.pencolor(color[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