Commit 5752e60a by BellCodeEditor

save project

parent d84d5498
Showing with 3 additions and 2 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
import random
screen=turtle.Screen()
screen.bgcolor("pink")
......@@ -17,7 +17,8 @@ pen.hideturtle()
pen1.pensize(10)
pen1.fillcolor("red")
pen1.pencolor("red")
len=100
list=[10,20,50,60,100]
len=random.choice(list)
pen1.begin_fill()
pen1.left(45)
pen1.fd(2*len)
......
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