diff --git a/diy1.py b/diy1.py index 4492e7c..fc55fa9 100644 --- a/diy1.py +++ b/diy1.py @@ -1,6 +1,13 @@ # 利用write()帮助悟空给诺依回信吧~ import turtle -pen=turtle.Pen() -pen.write("诺伊,\nturtle真好用,\n我会在画布上写字啦!",font=("Times",30,"normal")) -pen.hideturtle() -turtle.done() \ No newline at end of file +pen1=turtle.Pen() +pen1.pensize(5) +pen1.pencolor("red") +pen1.left(45) +pen1.forward(100) +pen1.circle(50,180) +pen1.right(90) +pen1.circle(50,180) +pen1.forward(100) +pen1.hideturtle() +turtle.done()