From 995c805d2a87cce9429c7df27a6f369366ef0f62 Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Tue, 27 Apr 2021 18:17:04 +0800 Subject: [PATCH] save project --- diy1.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/diy1.py b/diy1.py index 17b08df..eb3205b 100644 --- a/diy1.py +++ b/diy1.py @@ -1,8 +1,12 @@ # 利用write()帮助悟空给诺依回信吧~ import turtle pen=turtle.Pen() -# pen.write("海上生明月,\n天涯共此时。",font=("Times",30,"normal")) -# pen.hideturle() +screen=turtle.Screen() +screen.bgcolor("light blue") +pen.penup() +pen.goto(100,-50) +pen.write("海上生明月,\n天涯共此时。",font=("Times",20,"normal")) +pen.hideturtle() pen1=turtle.Pen() pen1.pencolor("red") pen1.pensize(5) -- libgit2 0.25.0