From a3ba165e9c490cb5ed835b4de60a8f87b3ae618b Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Fri, 19 Aug 2022 16:05:02 +0800 Subject: [PATCH] save project --- diy.py | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/diy.py b/diy.py index e19e8f3..fb2ff87 100644 --- a/diy.py +++ b/diy.py @@ -1,5 +1,17 @@ import turtle -pen=turtle.Pen() -pen.write("你好\n使用Python,\n有趣",font=("Times",18,"normal")) -pen.hideturtle() +# pen=turtle.Pen() +# pen.write("你好\n使用Python,\n有趣",font=("Times",18,"normal")) +# pen.hideturtle() +# turtle.done() + +pen1=turtle.Pen() +pen1.pencolor("red") +pen1.pensize(5) +pen1.left(45) +pen1.forward(100) +pen1.circle(50,180) +pen1.right(90) +pen1.circle(50,180) +pen1.forward(100) +pen1.hideturtle() turtle.done() \ No newline at end of file -- libgit2 0.25.0