Commit 82723308 by BellCodeEditor

save project

parent 1f507823
Showing with 11 additions and 2 deletions
i = 5
j = 3
print('{}*{}={}'foemat(i,j,i*j))
\ No newline at end of file
......@@ -4,9 +4,13 @@
"""
import turtle
pen = turtle.Pen()
sb=turtle.Screen()
sb.bgcolor("black")
color=["red","orange","yellow","green","blue","purple","pink"]
for i in range(300):
pen.forward(i)
pen.color(color[i%7])
pen.forward(i)
# 请创造师在下面接着创作
pen.left(91)# 隐藏画笔,保存画布
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