From c9266bcf5560abfbde992810d143b1266e876f0d Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Sat, 26 Feb 2022 15:41:34 +0800 Subject: [PATCH] save project --- diy1.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/diy1.py b/diy1.py index 0f1b413..eabadd4 100644 --- a/diy1.py +++ b/diy1.py @@ -1,5 +1,7 @@ import turtle screen=turtle.Screen() +len=screen.textinput("提示","你想要多大的爱心呀?") +lovesize=int(len) screen.bgcolor("light blue") pen=turtle.Pen() pen.write("诺依,\nturtie真好用,\n我会在画布上写字啦!",font=("Times",20,"normal")) -- libgit2 0.25.0