From 8fd8a486031084ce3c5d28795b53668fb38d045b Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Sat, 20 May 2023 14:35:05 +0800 Subject: [PATCH] auto save --- diy1 copy 2.py | 22 ++++++++++++++++++++++ diy1 copy.py | 21 +++++++++++++++++++++ diy1.py | 22 ++++++++++++++++++++++ ee.py | 15 +++++++++++++++ 4 files changed, 80 insertions(+) create mode 100644 diy1 copy 2.py create mode 100644 diy1 copy.py create mode 100644 diy1.py create mode 100644 ee.py diff --git a/diy1 copy 2.py b/diy1 copy 2.py new file mode 100644 index 0000000..92034f7 --- /dev/null +++ b/diy1 copy 2.py @@ -0,0 +1,22 @@ +# 利用write()帮助悟空给诺依回信吧~ +import turtle +screen=turtle.Screen() +screen.bgcolor("light blue") +len=screen.textinput("100","100") +len=int(len) +pen=turtle.Pen() +pen.write("你好\n你干嘛.",font=("Times",30,"normal")) +pen.hideturtle() +len=60 +pen.penup() +pen.goto(100,100) +pen.pendown() +pen.pensize(5) +pen.pencolor("red") +pen.left(45) +pen.forward(2*len) +pen.circle(len,180) +pen.right(90) +pen.circle(len,180) +pen.forward(2*len) +turtle.done() diff --git a/diy1 copy.py b/diy1 copy.py new file mode 100644 index 0000000..d1a9bbd --- /dev/null +++ b/diy1 copy.py @@ -0,0 +1,21 @@ + +import turtle +screen=turtle.Screen() +pen=turtle.Pen() +screen.bgcolor("light blue") +pen.goto(100,100) +pen.pendown() +pen.pensize(5) +pen.pencolor("red") +pen.left(45) +pen.forward(100) +pen.circle(50,180) +pen.right(90) +pen.circle(50,180) +pen.forward(100) +pen.penup() +pen.goto(100,100) +pen.pencolor("black") +pen.write("kjhdedyfteyt",font=("Times",30,"normal")) +pen.hideturtle() +turtle.done() diff --git a/diy1.py b/diy1.py new file mode 100644 index 0000000..92034f7 --- /dev/null +++ b/diy1.py @@ -0,0 +1,22 @@ +# 利用write()帮助悟空给诺依回信吧~ +import turtle +screen=turtle.Screen() +screen.bgcolor("light blue") +len=screen.textinput("100","100") +len=int(len) +pen=turtle.Pen() +pen.write("你好\n你干嘛.",font=("Times",30,"normal")) +pen.hideturtle() +len=60 +pen.penup() +pen.goto(100,100) +pen.pendown() +pen.pensize(5) +pen.pencolor("red") +pen.left(45) +pen.forward(2*len) +pen.circle(len,180) +pen.right(90) +pen.circle(len,180) +pen.forward(2*len) +turtle.done() diff --git a/ee.py b/ee.py new file mode 100644 index 0000000..b949f71 --- /dev/null +++ b/ee.py @@ -0,0 +1,15 @@ +import turtle +pen=turtle.Pen() +pen.color("red") +pen.penup() +pen.goto(100,100) +pen.pendown() +pen.left(45) +pen.forward(100) +pen.circle(50,180) +pen.right(90) +pen.circle(50,180) +pen.forward(100) +pen.write("你好\n你干嘛.",font=("Times",30,"normal")) +pen.hideturtle() +turtle.done() -- libgit2 0.25.0