Commit 28f336f0 by BellCodeEditor

save project

parent ce9bc374
Showing with 4 additions and 13 deletions
import turtle i=5
pen=turtle.Pen() j=3
color=["red","orange","yellow","green","light blue"] print(j,"*",i,"=",(i*j))
screen=turtle.Screen() \ No newline at end of file
screen.bgcolor("black")
pen.speed(114514)
for i in range(1,1500):
pen.pencolor(color[i%5])
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