From c8ded208817dadbd90f2ee38a721999901448bcf Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Fri, 7 May 2021 18:22:22 +0800 Subject: [PATCH] save project --- diy1.py | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/diy1.py b/diy1.py index 5f46fd3..24ac0d9 100644 --- a/diy1.py +++ b/diy1.py @@ -1,6 +1,16 @@ # 利用write()帮助悟空给诺依回信吧~ import turtle -pen=turtle.Pen() -pen.write("诺依,\n,turtle真好用\n",font=("Times",30,"normal")) -hideturtle() -turtle.done() +# pen=turtle.Pen() +# pen.write("诺依,\n,turtle真好用\n",font=("Times",30,"normal")) +# hideturtle() +# turtle.done() +pen1=turtle.Pen() +pen1.pensize(5) +pen1.pencolor("red") +pen1.left(45) +pen1.forward(100) +pen1.circle(50,180) +pen1.right(90) +pen1.circle(50,180) +pen.forward(100) +turtle.done() \ No newline at end of file -- libgit2 0.25.0