From abcab1536914290c67c22921a581156b15eb0604 Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Sun, 9 May 2021 13:29:19 +0800 Subject: [PATCH] save project --- diy1.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/diy1.py b/diy1.py index 26b12d1..5402eab 100644 --- a/diy1.py +++ b/diy1.py @@ -1,8 +1,8 @@ import turtle -Pen = turtle.Pen -Pen.write("Hi,诺依\n用python写电子贺卡真是太有趣了\n我也喜欢python\n——悟空",font = ("Times",18,"normal")) - - +pen = turtle.Pen() +pen.write("Hi,诺依\n用python写电子贺卡真是太有趣了\n我也喜欢python\n——悟空",font = ("Times",15,"normal")) +pen.hideturtle() +turtle.done() -- libgit2 0.25.0