Commit b1efbaaf by BellCodeEditor

save project

parent d53be8bb
Showing with 6 additions and 5 deletions
...@@ -5,12 +5,13 @@ pen.goto() ...@@ -5,12 +5,13 @@ pen.goto()
pen.write("你好呀",font=("Times",13,"normal") pen.write("你好呀",font=("Times",13,"normal")
turtle.done()# 利用write()帮助悟空给诺依回信吧~ turtle.done()# 利用write()帮助悟空给诺依回信吧~
pen=turtle.Pen() pen=turtle.Pen()
pen1.left() len=60
pen1.forward(100) pen1.left(45)
pen1.circle(50,180) pen1.forward(len)
pen1.circle(len,180)
pen1.right(90) pen1.right(90)
pen1.circle(50,180) pen1.circle(len,180)
pen1.forward(100) pen1.forward(len)
pen1.hideturle() pen1.hideturle()
screen+turtle.screen() screen+turtle.screen()
screen.bgcoJor("pink") screen.bgcoJor("pink")
......
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