Commit 0ee3c40f by BellCodeEditor

save project

parent cd4b04de
Showing with 4 additions and 11 deletions
import turtle i=5
pen = turtle.Pen() j=3
colors=["red","orange","yellow","green"] print(j,'*',i,'=',(j*i))
for i in range(1,300): \ No newline at end of file
pen.forward(i)
pen.pencolor(colors[i%4])
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