From aac9522472616bd9e7969863c3ebc7aeacf5774c Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Sat, 20 May 2023 13:33:16 +0800 Subject: [PATCH] auto save --- diy1.py | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/diy1.py b/diy1.py index aff5168..e38fc25 100644 --- a/diy1.py +++ b/diy1.py @@ -1,16 +1,16 @@ -# 利用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.hideturtle() -len=60 -pen.penup() -pen.goto(100,100) -pen.pendown() -pen.pensize(5) -pen.pencolor("red") +# # 利用write()帮助悟空给诺依回信吧~ +from turtle import * + +left(45) +pensize(5) +forward(100) +circle(50,180) +right(90) +circle(50,180) +forward(100) +penup() +goto(30,-100) +write("你干嘛",font=("times",30,"normal")) +done() + -- libgit2 0.25.0