Commit 82723308 by BellCodeEditor

save project

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