Commit 05c76b77 by BellCodeEditor

save project

parent 3f6d5473
Showing with 5 additions and 6 deletions
# 利用write()帮助悟空给诺依回信吧~ # 利用write()帮助悟空给诺依回信吧~
import turtle import turtle
# screen=turtle.Screen()
screen=turtle.Screen() # screen.bgcolor("light blue")
screen.bgcolor("light blue") # len=screen.textinput("100","100")
len=screen.textinput("100","100") # len=int(len)
len=int(len)
pen1=turtle.Pen() pen1=turtle.Pen()
pen1.write("你好\nSB.",font=("Times",30,"normal")) # pen1.write("你好\nSB.",font=("Times",30,"normal"))
pen1.hideturtle() pen1.hideturtle()
len=60 len=60
pen1.penup() pen1.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