From 81a617366957df7cd7fb62a11a91a93857cc9d6b Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Sat, 5 Dec 2020 20:44:05 +0800 Subject: [PATCH] save project --- diy1.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/diy1.py b/diy1.py index 19174f6..b94ac21 100644 --- a/diy1.py +++ b/diy1.py @@ -11,7 +11,8 @@ pen.write("我们\n分手吧",font=("times",50,"normal")) pen.end_fill() pen.hideturtle() pen1=turtle.Pen() -len=50 +a=screen.textinput("提示:","你要多大的爱心?") +len=int(a) pen1.fillcolor("yellow") pen1.begin_fill() pen1.pencolor("yellow") -- libgit2 0.25.0