Commit bfba51c3 by BellCodeEditor

auto save

parent 5aa3ad26
Showing with 4 additions and 8 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
screen=turtle.Screen()
screen.bgcolor("light blue")
len=screen.textinput("100","100")
len=int(len)
pen=turtle.Pen()
pen.write("nihao,\nnuoyi,\nhengaoyinshoudaonideheka,xiexieni.\n",font=("Times",30,"normal"))
pen.hideturtle()
len=60
pen
turtle.done()
pen.penup()
pen.goto(100,-100)
pen.write("Hi,诺依~\n用python写电子贺卡真是太有趣了~、n我也喜欢python~\n——悟空")
\ 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