Commit 5fd4c6cd by BellCodeEditor

save project

parent 85f8a18b
Showing with 5 additions and 14 deletions
import turtle
color = ["red","green",'orange','yellow']
pen = turtle.Pen()
pen.speed(1000)
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
for i in range(1,10):
for j in range(1,i+1):
print(j,'*',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