Commit 9d9b8f61 by BellCodeEditor

save project

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