From 0b8ac5a68cfac6ea053bb45305d92536bcde5dc2 Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Sun, 29 Aug 2021 10:30:22 +0800 Subject: [PATCH] save project --- diy1.py | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/diy1.py b/diy1.py index 53378d2..9fd5e36 100644 --- a/diy1.py +++ b/diy1.py @@ -1 +1,19 @@ -# 利用write()帮助悟空给诺依回信吧~ +import turtle +s=turtle.Pen() +s.write("sb",font=("times",40,"normal")) +s.hideturtle() + +p=turtle.Pen() +p.penup() +p.goto(120,-40) +p.pendown() +p.begin_fill() +p.pencolor("red") +p.left(45) +p.forward(100) +p.circle(50,180) +p.right(90) +p.circle(50,180) +p.forward(100) +p.end_fill() +turtle.done() \ No newline at end of file -- libgit2 0.25.0