Commit 6a89dd91 by BellCodeEditor

save project

parent 70e27561
Showing with 5 additions and 14 deletions
import turtle
pen=turtle.Pen()
screen=turtle.Screen()
colors=["red","blue","yellow","green"]
screen.bgcolor("black")
pen.speed(100)
for i in range(1,300):
pen.forward(i)
pen.pencolor(colors[i%4])
pen.left(91)
pen.hideturtle()
turtle.done()
\ No newline at end of file
for i in range(1,10):
for j in range(1,10): # 列
print(j,"x",i,"=",(j*i),end=" ")
print()
\ 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