From 55b51454643f7c6b735ad586cc4a23c615c96c9f Mon Sep 17 00:00:00 2001
From: BellCodeEditor <bellcode_dev@bell.ai>
Date: Sun, 16 Jun 2024 18:17:53 +0800
Subject: [PATCH] save project

---
 diy1.py | 27 ++++++++++++++++++---------
 1 file changed, 18 insertions(+), 9 deletions(-)

diff --git a/diy1.py b/diy1.py
index 764cc00..f6faac6 100644
--- a/diy1.py
+++ b/diy1.py
@@ -1,12 +1,21 @@
 # 利用write()帮助悟空给诺依回信吧~
 import turtle
-# screen=turtle.Screen()
-# screen.bgcolor("light blue")
-# len=screen.textinput("100","100")
-# pen=turtle.Pen()
-# pen.write("诺依,\nturtle真好用,\n我会在画布上写字啦",font=("Times",30,"normal"))
-# pen.hideturtle()
-# turtle.done()
-pen1=turtle.pen
-pen1.circle(50)
+screen=turtle.Screen()
+screen.bgcolor("light blue")
+len=screen.textinput("100","100")
+pen=turtle.Pen()
+pen.penup()
+pen.goto(100,-100)
+pen.write("诺依,\nturtle真好用,\n我会在画布上写字啦",font=("Times",20,"normal"))
+pen.hideturtle()
+pen1=turtle.Pen()
+pen.fillcolor("red")
+pen.begin_fill()
+pen.end_fill()
+pen1.left(45)
+pen1.forward(100)
+pen1.circle(50,180)
+pen1.right(90)
+pen1.circle(50,180)
+pen1.forward(100)
 turtle.done()
\ No newline at end of file
--
libgit2 0.25.0