From af742964d86b8d4d6b7a65308e7166d3bc992523 Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Sun, 5 Jan 2025 12:18:32 +0800 Subject: [PATCH] save project --- diy1.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 diy1.py diff --git a/diy1.py b/diy1.py new file mode 100644 index 0000000..e6a1256 --- /dev/null +++ b/diy1.py @@ -0,0 +1,19 @@ +# 利用write +import turtle +pen=turtle.Pen() +screen=turtle.Screen() +screen.bgcolor("pink") +pen.penup() +pen.goto(100,-100) +pen.write("你好,\n,我叫马泽垚",font=("Times",20,"normal")) +pen1=turtle.Pen() +pen1.pencolor("red") +pen1.pensize(20) +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