Commit 60bf5300 by BellCodeEditor

auto save

parent 393e6424
Showing with 13 additions and 3 deletions
# 利用write()帮助悟空给诺依回信吧~ # 利用write()帮助悟空给诺依回信吧~
import turtle import turtle
# pen=turtle.Pen() pen=turtle.Pen()
# pen.write("《早发白帝城》 祥\n朝辞白帝彩云间,\n千里江陵一日还。\n两岸猿声啼不住,\n轻舟已过万重山。",font=("黑体",20,"normal")) pen.penup()
# pen.hideturtle() pen.goto(30,-100)
pen.pendown()
pen.write("《早发白帝城》 祥\n朝辞白帝彩云间,\n千里江陵一日还。\n两岸猿声啼不住,\n轻舟已过万重山。",font=("黑体",20,"normal"))
pen.hideturtle()
pen1=turtle.Pen() pen1=turtle.Pen()
pen1.fillcolor("red") pen1.fillcolor("red")
pen1.begin_fill() pen1.begin_fill()
......
import turtle
# screen=turtle.Screen()
# screen.textinput("姓名框","你的名字是?")
turtle.textinput("姓名框","你的名字是?")
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