diff --git a/diy1.py b/diy1.py index 8b38ea5..6be8263 100644 --- a/diy1.py +++ b/diy1.py @@ -1,5 +1,18 @@ # 利用write()帮助悟空给诺依回信吧~ -import turtle -screen=turtle.screen -screen.bgcolor("light green") -len=screen \ No newline at end of file +import turtle +pen=turtle.Pen() +pen.color("red") +pen.left(45) +pen.forward(100) +pen.circle(50,180) +pen.right(90) +pen.circle(50,180) +pen.forward(100) +pen.penup() +pen.goto(-80,-150) +pen.write("你好啊",font=("宋体",40)) +turtle.done() + + + +