Commit 481e5d50 by BellCodeEditor

save project

parent e270608a
Showing with 4 additions and 12 deletions
import turtle i = 5
pen=turtle.Pen() j = 7
screen=turtle.Screen() print(i,"*",j,"=",(j*i))
screen.bgcolor("black") \ No newline at end of file
colors=["red","yellow","green","orange"]
for i in range(1,300):
pen.pencolor(colors[i%4])
pen.forward(i)
pen.right(91)
pen.hideturtle()
turtle.done()
\ 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