Commit 70012256 by BellCodeEditor

save project

parent 4cb68b81
Showing with 2 additions and 2 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
x = textinput("the size of heart")
pen = turtle.Pen()
pen.penup()
pen.goto(100,-100)
......@@ -10,7 +10,7 @@ pen.hideturtle()
penone = turtle.Pen()
penone.pensize(10)
penone.pencolor("red")
len = 60
len = int(x)
penone.left(45)
penone.forward(2*len)
penone.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