Commit 78121810 by BellCodeEditor

save project

parent cca02b79
Showing with 3 additions and 0 deletions
...@@ -13,6 +13,9 @@ pen.backward(150) # 后退 ...@@ -13,6 +13,9 @@ pen.backward(150) # 后退
pen.down() pen.down()
def s(n): def s(n):
if n>=0: if n>=0:
if n<=12
color_list=['snow','lightcoral']
pen.pensize(n/10) pen.pensize(n/10)
pen.forward(n) pen.forward(n)
angle=random.random(0,30) angle=random.random(0,30)
......
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