From d272b2e3e43b650f2693c23f7c46ea9fd12d0f6a Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Fri, 29 Jul 2022 20:53:56 +0800 Subject: [PATCH] auto save --- 5442424.py | 5 +++++ diy1.py | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 5442424.py diff --git a/5442424.py b/5442424.py new file mode 100644 index 0000000..a5e73f4 --- /dev/null +++ b/5442424.py @@ -0,0 +1,5 @@ +import turtle +pen=turtle.Pen() +pen.write("你好!",font=("Times",40,"normal")) +pen.hideturtle() +turtle.done() \ No newline at end of file diff --git a/diy1.py b/diy1.py index 85ce3b6..614141b 100644 --- a/diy1.py +++ b/diy1.py @@ -1,11 +1,10 @@ -# 利用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,请记住我的\n名字,我叫氢弹.)",font=("Times",30,"normal")) pen.hideturtle() len=60 pen.penup() -- libgit2 0.25.0