From af011fa038cbeac5d1ea4831374e90f0d7b32852 Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Sun, 26 Feb 2023 11:26:43 +0800 Subject: [PATCH] auto save --- diy1.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/diy1.py b/diy1.py index 85ce3b6..b21a07e 100644 --- a/diy1.py +++ b/diy1.py @@ -1,4 +1,4 @@ -# 利用write()帮助悟空给诺依回信吧~ +'''# 利用write()帮助悟空给诺依回信吧~ import turtle screen=turtle.Screen() screen.bgcolor("light blue") @@ -20,3 +20,10 @@ pen.right(90) pen.circle(len,180) pen.forward(2*len) turtle.done() +''' +import turtle +pen=turtle.Pen() +pen.write("诺依,\n我会用“write”回信了\n鸡你太美",font=("times",20,"normal")) +pen.hideturtle() +turtle.done() + -- libgit2 0.25.0