Commit df21a856 by BellCodeEditor

save project

parent e3f0960c
Showing with 4 additions and 2 deletions
# 利用write()帮助悟空给诺依回信吧~ # 利用write()帮助悟空给诺依回信吧~
import turtle import turtle
len=60
screen=turtle.Screen() screen=turtle.Screen()
screen.bgcolor('light blue') screen.bgcolor('light blue')
pen=turtle.Pen() pen=turtle.Pen()
pen.penup() pen.penup()
pen.goto(100,-100) pen.goto(100,-100)
pen.write("一向不善在您面前表达感情的我,\n今天要借着短信说一句:\n亲爱的妈妈:我永远爱您!\n祝母亲节快乐。",font=("Times",20,"normal")) pen.write("一向不善在您面前表达感情的我,\n今天要借着短信说一句:\n亲爱的妈妈:我永远爱您!\n祝母亲节快乐。",font=("Times",20,"normal"))
pen1=turtle.Pen() len=screen.textinput('数字框','请输入一个数字')
len=int(len)
len=float(len)
pen.hideturtle() pen.hideturtle()
pen1=turtle.Pen()
pen1.pencolor('red') pen1.pencolor('red')
pen1.pensize(5) pen1.pensize(5)
pen1.left(45) pen1.left(45)
......
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