From 3f2f043b653ec6593ee364555b38d22a79270e34 Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Sun, 5 Nov 2023 10:36:09 +0800 Subject: [PATCH] save project --- diy1.py | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/diy1.py b/diy1.py index dd057df..423bb50 100644 --- a/diy1.py +++ b/diy1.py @@ -1,12 +1,12 @@ # 利用write()帮助悟空给诺依回信吧~ import turtle -screen=turtle.Screen() -screen.bgcolor("light blue") -len=screen.textinput("100","100") -len=int(len) +# screen=turtle.Screen() +# screen.bgcolor("light blue") +# len=screen.textinput("100","100") +# len=int(len) pen=turtle.Pen() -pen.write("你好\n.",font=("Times",30,"normal")) -pen.hideturtle() +# pen.write("你好\n.",font=("Times",30,"normal")) +# pen.hideturtle() len=60 pen.penup() pen.goto(100,100) @@ -19,4 +19,5 @@ pen.circle(len,180) pen.right(90) pen.circle(len,180) pen.forward(2*len) +pen.hideturtle() turtle.done() -- libgit2 0.25.0