Commit 997ab8c2 by BellCodeEditor

save project

parent 9a7fabea
Showing with 3 additions and 1 deletions
......@@ -8,10 +8,12 @@ pen.goto(100,-100)
pen.write("诺依,你好呀,\n 我是贝尔星球的孙悟空,\n 我喜欢编程。\n",font=("Times",17,"normal"))
pen.hideturtle()
# 画爱心
len=60
pen1=turtle.Pen()
len=textinput("提示","你要画多大的爱心?")
lovesize=int(len)
pen1.pensize(5)
pen1.pencolor("red")
len=60
pen1.left(45)
pen1.forward(2*len)
pen1.circle(len,180)
......
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