From 4e4283e8d593d184d268185d503d58079bac1810 Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Sat, 29 May 2021 09:30:26 +0800 Subject: [PATCH] auto save --- diy1.py | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 diy1.py diff --git a/diy1.py b/diy1.py new file mode 100644 index 0000000..3296754 --- /dev/null +++ b/diy1.py @@ -0,0 +1,20 @@ +# 利用write()帮助悟空给诺依回信吧~ +import turtle +screen=turtle.Screen() +screen.bgcolor("pink") +pen=turtle.Pen() +pen.hideturtle() +pen.penup() +pen.goto(100,-100) +pen.write("你好\n猜猜我是谁\n我不告诉你\n诶就是玩",font=("Times",30,"normal")) +pen1=turtle.Pen() +pen1.hideturtle() +pen1.pensize(5) +pen1.pencolor("green") +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