From bfba51c3d4e1cd48a969b9da1f331ac56b8322cd Mon Sep 17 00:00:00 2001
From: BellCodeEditor <bellcode_dev@bell.ai>
Date: Sat, 15 Oct 2022 08:50:30 +0800
Subject: [PATCH] auto save

---
 diy1.py | 11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)

diff --git a/diy1.py b/diy1.py
index 8cb6db5..497b3b5 100644
--- a/diy1.py
+++ b/diy1.py
@@ -1,12 +1,7 @@
-# 利用write()帮助悟空给诺依回信吧~
 import turtle
 screen=turtle.Screen()
 screen.bgcolor("light blue")
-len=screen.textinput("100","100")
-len=int(len)
 pen=turtle.Pen()
-pen.write("nihao,\nnuoyi,\nhengaoyinshoudaonideheka,xiexieni.\n",font=("Times",30,"normal"))
-pen.hideturtle()
-len=60
-pen
-turtle.done()
+pen.penup()
+pen.goto(100,-100)
+pen.write("Hi,诺依~\n用python写电子贺卡真是太有趣了~、n我也喜欢python~\n——悟空",)
\ No newline at end of file
--
libgit2 0.25.0