From ec0ce3069c6cdcce530e236e09a3de253c0bd71b Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Sun, 15 Aug 2021 11:53:56 +0800 Subject: [PATCH] save project --- diy1.py | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/diy1.py b/diy1.py index 3959c99..e051678 100644 --- a/diy1.py +++ b/diy1.py @@ -1,9 +1,12 @@ # 利用write()帮助悟空给诺依回信吧~ import turtle -# pen=turtle.Pen() -# pen.write("你好,\n诺依。\n我现在会用贝尔编辑器写信了",font=("Times",20,"normal")) -# pen.hideturtle() -# turtle.done() +screen=turtle.Screen() +screen.bgcolor("pink") +pen=turtle.Pen() +pen.penup() +pen.goto(100,-100) +pen.write("你好,\n诺依。\n我现在会用贝尔编辑器写信",font=("Times",13,"normal")) +pen.hideturtle() pen1=turtle.Pen() pen1.pencolor("red") pen1.pensize(6) -- libgit2 0.25.0