Commit 93e33e17 by BellCodeEditor

save project

parent e12f2263
Showing with 4 additions and 4 deletions
#利用write()帮助悟空给诺依回信吧~ #利用write()帮助悟空给诺依回信吧~
import turtle import turtle
# pen=turtle.Pen() pen=turtle.Pen()
# pen.write("\n唧唧复唧唧,木兰当户织。\n不闻机杼声,唯闻女叹息。\n问女何所思,问女何所忆。\n女亦无所思,女亦无所忆。\n昨夜见军帖,可汗大点兵。\n军书十二卷,卷卷有爷名。\n阿爷无大儿,木兰无长兄。\n愿为市鞍马,从此替爷征。",font=("times",30,"normal")) pen.write("\n唧唧复唧唧,木兰当户织。\n不闻机杼声,唯闻女叹息。\n问女何所思,问女何所忆。\n女亦无所思,女亦无所忆。\n昨夜见军帖,可汗大点兵。\n军书十二卷,卷卷有爷名。\n阿爷无大儿,木兰无长兄。\n愿为市鞍马,从此替爷征。",font=("times",30,"normal"))
# pen.hideturtle() pen.hideturtle()
# urtle.done()
pen1=turtle.Pen() pen1=turtle.Pen()
pen1.pensize(10) pen1.pensize(10)
pen1.pencolor("red") pen1.pencolor("red")
...@@ -13,3 +12,4 @@ pen1.circle(50,180) ...@@ -13,3 +12,4 @@ pen1.circle(50,180)
pen1.right(90) pen1.right(90)
pen1.circle(50,180) pen1.circle(50,180)
pen1.forward(100) pen1.forward(100)
turtle.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