From 179796cf80ee0b122ebefc33e18a9a0c4e7bc8a6 Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Sat, 10 Dec 2022 11:42:35 +0800 Subject: [PATCH] save project --- diy1.py | 6 +++--- dy.py/123.py | 22 ++++++++++++++++++++++ 2 files changed, 25 insertions(+), 3 deletions(-) create mode 100644 dy.py/123.py diff --git a/diy1.py b/diy1.py index 542f7c1..b0b4375 100644 --- a/diy1.py +++ b/diy1.py @@ -2,10 +2,10 @@ import turtle screen=turtle.Screen() screen.bgcolor("light blue") -len=screen.textinput("100","100") +en=screen.textinput("100","100") len=int(len) -pen=turtle.Pen() -pen.write("wdf 你这个背景好假 \nSB.",font=("Times",30,"normal")) +pen=turtle.Pen()l +pen.write("wdf 你这个背景好假 \n",font=("Times",30,"normal")) pen.hideturtle() len=60 pen.penup() diff --git a/dy.py/123.py b/dy.py/123.py new file mode 100644 index 0000000..04dd378 --- /dev/null +++ b/dy.py/123.py @@ -0,0 +1,22 @@ +# # 利用write()帮助悟空给诺依回信吧~ +# import turtle +# screen=turtle.Screen() +# screen.bgcolor("light blue") +# en=screen.textinput("100","100") +# len=int(len) +# pen=turtle.Pen()l +# 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") +# pen.left(45) +# pen.forward(2*len) +# pen.circle(len,180) +# pen.right(90) +# pen.circle(len,180) +# pen.forward(2*len) +# turtle.done() -- libgit2 0.25.0