From 7fe8073a34f2df7180949ba84c27e7593d78b192 Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Sun, 13 Nov 2022 14:31:19 +0800 Subject: [PATCH] save project --- diy1.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/diy1.py b/diy1.py index 85ce3b6..bcd8e32 100644 --- a/diy1.py +++ b/diy1.py @@ -1,11 +1,11 @@ -# 利用write()帮助悟空给诺依回信吧~ + import turtle screen=turtle.Screen() screen.bgcolor("light blue") len=screen.textinput("100","100") len=int(len) pen=turtle.Pen() -pen.write("你好\nSB.",font=("Times",30,"normal")) +pen.write("你好\n诺伊,孙浩然想对你说,/n他喜欢Python/n------孙浩然.",font=("Times",30,"normal")) pen.hideturtle() len=60 pen.penup() -- libgit2 0.25.0