From 792b4a02934380705ae9a59f97de74696cb12527 Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Sat, 28 May 2022 13:53:19 +0800 Subject: [PATCH] save project --- diy1.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/diy1.py b/diy1.py index 99f6755..10e6817 100644 --- a/diy1.py +++ b/diy1.py @@ -2,14 +2,13 @@ import turtle screen=turtle.Screen() screen.bgcolor("light blue") -len=screen.textinput("100","100") -len=int(len) + pen=turtle.Pen() pen.write("你好\nSB.",font=("Times",30,"normal")) pen.hideturtle() len=100 pen.penup() -pen.goto(100,100) +pen.goto(100,-100) pen.pendown() pen.pensize(5) pen.pencolor("red") -- libgit2 0.25.0