From 2991dff0a93dceef5afdb3cf2154c13f4f5e8501 Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Fri, 24 Feb 2023 20:30:23 +0800 Subject: [PATCH] auto save --- diy1.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/diy1.py b/diy1.py index bb4a2e7..461aad8 100644 --- a/diy1.py +++ b/diy1.py @@ -1,5 +1,24 @@ import turtle +screen=turtle.Screen() +screen.bgcolor('pink') pen=turtle.Pen() +pen.penup() +pen.goto(100,-100) pen.write("依诺你玩完了。\n你死定了。",font=("Times",20,"normal")) pen.hideturtle() +pen2=turtle.Pen() +pen2.pencolor('red') +pen2.pensize(5) +pen2.left(45) +pen2.forward(100) +pen2.circle(50,180) +pen2.right(90) +pen2.circle(50,180) +pen2.forward(100) turtle.done() + + + + + + -- libgit2 0.25.0