Commit 5fd4c6cd by BellCodeEditor

save project

parent 85f8a18b
Showing with 5 additions and 14 deletions
for i in range(1,10):
import turtle for j in range(1,i+1):
color = ["red","green",'orange','yellow'] print(j,'*',i,'=',(j*i),end = " ")
pen = turtle.Pen() print()
pen.speed(1000) \ No newline at end of file
pen.pensize(1)
# 请创造师在下面接着创作
for i in range(1,5000):
pen.pencolor(color[i%4])
pen.forward(i)
pen.right(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