From ad6f5af5cd8676992b04fd796a822dc8905f41f6 Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Mon, 12 Jul 2021 19:15:34 +0800 Subject: [PATCH] save project --- diy1.py | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/diy1.py b/diy1.py index dd430ba..a7fa69e 100644 --- a/diy1.py +++ b/diy1.py @@ -1,6 +1,17 @@ # 利用write()帮助悟空给诺依回信吧~ import turtle -pen=turtle.Pen() -pen.write("Hi,诺依~\n用python写电子贺卡真是太有趣啦~\n我也喜欢python~\n--悟空" ,font=("Times",30,"normal")) -pen.hideturtle() +# pen=turtle.Pen() +# pen.write("Hi,诺依~\n用python写电子贺卡真是太有趣啦~\n我也喜欢python~\n--悟空" ,font=("Times",30,"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