Commit 6a89dd91 by BellCodeEditor

save project

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