Commit a69c3990 by BellCodeEditor

auto save

parent 3ce31792
Showing with 40 additions and 0 deletions
import turtle
pen=turtle.Pen()
screen=turtle.Screen()
screen.bgcolor("black")
pen.speed(0)
color=["red","orange","blue","green"]
for i in range(1,300):
pen.pencolor(color[i%4])
pen.forward(i)
pen.right(91)
pen.hideturtle()
turtle.done()
\ No newline at end of file
import turtle
pen=turtle.Pen()
screen=turtle.Screen()
screen.bgcolor("black")
pen.speed(0)
colorlist=["red","yellow","light green","blue"]
for i in range(1,1500):
pen.pencolor(colorlist[i%4])
pen.forward(i)
pen.right(91)
pen.hideturtle()
turtle.done()
\ No newline at end of file
for i in range(1,1000000000000000):
for j in range(1,i+1):
print("%dX%d=%d" %(i,j,i*j),end=" ")
print()
\ No newline at end of file
for i in range(1,10):
for j in range(1,i+1):
print("%dX%d=%d" %(i,j,i*j),end=" ")
print()
#print(str(j)+"*"+str(i)+"="str(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