From c71b538b8230cdbf9afa548b2294a8a121a79ba6 Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Mon, 14 Mar 2022 15:28:24 +0800 Subject: [PATCH] save project --- diy1.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/diy1.py b/diy1.py index 2183ef1..66fcc19 100644 --- a/diy1.py +++ b/diy1.py @@ -1,18 +1,18 @@ -# 利用write()帮助悟空给诺依回信吧~ +# 利用write()帮助悟空给陈志轩回信吧~ import turtle screen=turtle.Screen() screen.bgcolor("light blue") len=screen.textinput("提示","你想要多大的爱心呀?") len=int(len) pen=turtle.Pen() -pen.write("你好\n诺依.",font=("Times",30,"normal")) +pen.write("你好\n陈志轩.",font=("Times",30,"normal")) pen.hideturtle() len=60 pen.penup() pen.goto(100,100) pen.pendown() pen.pensize(5) -pen.pencolor("red") +pen.pencolor("红色") pen.left(45) pen.forward(2*len) pen.circle(len,180) -- libgit2 0.25.0