Commit 1a5ce782 by BellCodeEditor

save project

parent f3db238f
Showing with 11 additions and 5 deletions
import turtle import turtle
pen=turtle.Pen() pen=turtle.Pen()
distance=1 pen.speed(0)
for i in range(300): screen=turtle.Screen()
pen.forward(distance) screen.bgcolor("black")
c=["red","orange","yellow","green"]
for i in range(1,500):
pen.pencolor(c[i%4])
pen.forward(i)
pen.right(91) pen.right(91)
distance=distance+1
pen.hideturtle() pen.hideturtle()
turtle.done() turtle.done()
\ No newline at end of file
b=1
for a in range(1,10):
print(a,"*",b,"=",(a*b),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