From bff9ab8f8f8375b95a3fe61850757b6b578b5a7c Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Sat, 25 Dec 2021 20:15:42 +0800 Subject: [PATCH] save project --- diy1.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/diy1.py b/diy1.py index 4aba2a8..0ec7851 100644 --- a/diy1.py +++ b/diy1.py @@ -1,10 +1,11 @@ # 利用write()帮助悟空给诺依回信吧~ import turtle -pen=turtle.Pen() +#pen=turtle.Pen() screen=turtle.Screen() screen.bgcolor("pink") -pen=penup() -pen=pen.goto(100,-100) +pen=turtle.Pen() +pen.penup() +pen.goto(100,-100) pen.write("你\n好\n呀\n!\n",font=("Times",30,"normal")) pen.hideturtle() pen1=turtle.Pen() -- libgit2 0.25.0