Commit cd4e67e4 by BellCodeEditor

auto save

parent 58928229
Showing with 5 additions and 6 deletions
# 利用write()帮助悟空给诺依回信吧~ # 利用write()帮助悟空给诺依回信吧~
import turtle import turtle
screen=turtle.Screen() screen=turtle.
screen.bgcolor("light blue") screen.bgcolor("lightbule")
len=screen.textinput("100","100")
len=int(len)
pen=turtle.Pen() pen=turtle.Pen()
pen.write("你好\nSB.",font=("Times",30,"normal")) penup()
goto(100,-100)
pen.write(" 春日\n胜日寻芳泗水滨,\n无边光景一时新。\n等闲识得东风面,\n万紫千红总是春。\n",font=("Times",20,"normal"))
pen.hideturtle() pen.hideturtle()
len=60
pen.penup() pen.penup()
pen.goto(100,100) pen.goto(100,100)
pen.pendown() pen.pendown()
......
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