Commit c3839abc by BellCodeEditor

save project

parent 11d37140
Showing with 4 additions and 5 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
screen=turtle.Screen()
screen.bgcolor("light blue")
len=screen.textinput("100","100")
screen.bgcolor("light pink")
len=screen.textinput("你想要多大的爱心","爱心的大小是")
len=int(len)
pen=turtle.Pen()
pen.penup()
pen.goto(100,-100)
pen.pendown()
pen.write("你好\n郑贝乐.",font=("Times",30,"normal"))
pen.write("你好\n亲爱的妈妈\n您辛苦了!.",font=("Times",15,"normal"))
pen.hideturtle()
len=20
pen.penup()
pen.goto(100,100)
pen.goto(-100,100)
pen.pendown()
pen.pensize(5)
pen.pencolor("red")
......
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