From a3a45e8674bb1187bbef3f962c5b3abe8fce53a5 Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Sun, 14 Apr 2024 13:54:50 +0800 Subject: [PATCH] save project --- a.py | 9 +++++++++ diy1.py | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 a.py diff --git a/a.py b/a.py new file mode 100644 index 0000000..bb4a793 --- /dev/null +++ b/a.py @@ -0,0 +1,9 @@ +#导入模块 +import turtle +#新建画笔 +pen=turtle.Pen() +pen.write("我在5:20睡觉,\n13:14准时起,\n主打个浪漫,\n",font=("Simsun",25,"normal")) +#隐藏画笔 +pen.hideturtle() +#保存画布 +turtle.done() \ No newline at end of file diff --git a/diy1.py b/diy1.py index 85ce3b6..1ac2c36 100644 --- a/diy1.py +++ b/diy1.py @@ -5,7 +5,7 @@ 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我是你爸爸.",font=("Times",30,"normal")) pen.hideturtle() len=60 pen.penup() -- libgit2 0.25.0