From 24e7d4dc887735702e25288bd9d7d294f8420e18 Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Sun, 24 Sep 2023 17:36:24 +0800 Subject: [PATCH] save project --- diy1.py | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/diy1.py b/diy1.py index 5808d10..c3364a4 100644 --- a/diy1.py +++ b/diy1.py @@ -1,6 +1,16 @@ # 利用write()帮助悟空给诺依回信吧~ import turtle -pen=turtle.Pen() -pen.write("春晓\n春眠不觉晓\n处处闻啼鸟\n夜来风雨声\n花落知多少",font=("Times",30,"normal")) -pen.hideturtle() +# pen=turtle.Pen() +# pen.write("春晓\n春眠不觉晓\n处处闻啼鸟\n夜来风雨声\n花落知多少",font=("Times",30,"normal")) +# pen.hideturtle() +pen1=turtle.Pen() +pen1.pensize() +pen1.pencolor("red") +pen1.left(45) +pen1.forward(100) +pen1.circle(50,180) +pen1.right(90) +pen1.circle(50,180) +pen1.forward(100) +pen1.hideturtle() turtle.done() -- libgit2 0.25.0