From 392c2057b5c4707833a39606e398e618cfe4ca6f Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Sat, 23 Jul 2022 14:34:06 +0800 Subject: [PATCH] save project --- diy1.py | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/diy1.py b/diy1.py index 888f056..929c767 100644 --- a/diy1.py +++ b/diy1.py @@ -1,11 +1,20 @@ import turtle +screen=turtle.Screen() +screen.bgcolor("light blue") pen=turtle.Pen() +pen.penup() +pen.goto(100,-100) +pen.pencolor("red") pen.write("你好!!!\n你是谁???\n你在哪???\n你在干什么???",font=("times",30,"normal")) -pen.left(45) -pen.forward(100) -pen.circle(50,180) -pen.right(90) -pen.circle(50,180) -pen.forward(100) pen.hideturtle() -turtle.done() \ No newline at end of file +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() -- libgit2 0.25.0