Commit 5e4f33eb by BellCodeEditor

auto save

parent c66a449e
Showing with 6 additions and 6 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
screen=turtle.Screen()
screen.bgcolor("light blue")
import turtle#导入模块
screen=turtle.Screen()#创建背景对象
screen.bgcolor("light blue")#背景颜色
len=screen.textinput("100","100")
len=int(len)
pen=turtle.Pen()
pen.write("你好\nSB.",font=("Times",30,"normal"))
len=int(len)#将它转换为整型
pen=turtle.Pen()#创建对象
pen.write("你好\nSomeBobrdy.",font=("Times",30,"normal"))#写文本
pen.hideturtle()
len=60
pen.penup()
......
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