Commit 8d007728 by BellCodeEditor

save project

parent e784bb02
Showing with 3 additions and 1 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
len=100
screen=turtle.Screen()
screen.bgcolor("pink")
pen=turtle.Pen()
pen.penup()
pen.goto(-100,0)
pen.write("你好\n我叫刘鹏",font=("Times",20,"normal"))
len=screen.textinput("提示","你需要多大的爱心:")
len=int(len)
pen1=turtle.Pen()
pen1.left(45)
pen1.forward(2*len)
......
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