From 18a987c0dbdf56417f353eba02ae56ee2f82f37b Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Sun, 20 Sep 2020 12:10:33 +0800 Subject: [PATCH] save project --- diy1.py | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/diy1.py b/diy1.py index 3564a5d..360f8e0 100644 --- a/diy1.py +++ b/diy1.py @@ -1,5 +1,16 @@ # 利用write()帮助悟空给诺依回信吧~ -import turtle -Pen=turtle.Pen() -Pen.write("诺依,turtle真好用,我会在画布上写字啦!",font=("Times",30,"mormal")) + import turtle +# Pen=turtle.Pen() +# Pen.write("诺依,turtle真好用,我会在画布上写字啦!",font=("Times",30,"mormal")) +# turtle.done() +pen1=tuurtle.Pen() +pen1.Pensize(5) +pen1.Pencolor("red") +pen1.left(45) +pen1.forward(100) +pen1.circle(50,100) +pen1.right(90) +pen1.circle(50,100) +pen1.forward(100) +pen1.hideturtle() turtle.done() \ No newline at end of file -- libgit2 0.25.0