Commit db729aae by BellCodeEditor

save project

parent 03eb66cc
Showing with 10 additions and 3 deletions
# 利用write()帮助悟空给诺依回信吧~ # 利用write()帮助悟空给诺依回信吧~
import turtle as p import turtle as p
# p.bgcolor('pink') p.speed(0)
# p.write('dudududu\ndudududu\ndudududu\ndudududu',font=("Times",20,"normal")) p.penup()
# p.done() p.goto(100,-120)
p.pendown()
p.bgcolor('pink')
p.write('dudududu\ndudududu\ndudududu\ndudududu',font=("Times",20,"normal"))
p.penup()
p.goto(0,0)
p.pendown()
p.fillcolor('red') p.fillcolor('red')
p.begin_fill() p.begin_fill()
p.pencolor('red') p.pencolor('red')
...@@ -13,4 +19,5 @@ p.circle(50,180) ...@@ -13,4 +19,5 @@ p.circle(50,180)
p.right(90) p.right(90)
p.circle(50,180) p.circle(50,180)
p.end_fill() p.end_fill()
p.hideturtle()
p.done() p.done()
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