Commit 3129dc8e by BellCodeEditor

auto save

parent 6b789f23
Showing with 15 additions and 2 deletions
import turtle
pen.left(91)
\ No newline at end of file
pen=turtle.Pen()
pen.speed(0)
t=["red","orange","yellow","blue"]
for i in range(1,99999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999):
pen.forward(i)
pen.pencolor(t[i%4])
pen.right(91)
pen.hideturtle()
turtle.done()
\ No newline at end of file
j=1
for i in range(1,10):
print(j,"*",i,"=",(j*i),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