Commit 44281498 by BellCodeEditor

save project

parent 7b390978
Showing with 8 additions and 4 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
s=10
pen=turtle.Pen()
pen1=turtle.Pen()
pen.write("哦!('o')",font=("Times",10,"normal"))
......@@ -10,10 +11,12 @@ pen1.begin_fill()
pen1.goto(-100,30)
pen1.pendown()
pen1.left(45)
pen1.forward(120)
pen1.circle(60,180)
pen1.forward(s*2)
pen1.circle(s,180)
pen1.left(-90)
pen1.circle(60,180)
pen1.forward(120)
pen1.circle(s,180)
pen1.forward(s*2)
pen1.end_fill()
screen=turtle.Screen()
screen.bgcolor("red")
turtle.done()
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment