Commit 1e1512b6 by BellCodeEditor

save project

parent e78cdb8b
Showing with 20 additions and 0 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
pen = turtle.Pen()
pen1 = turtle.Pen()
screen=turtle.Screen()
screen.bgcolor('pink')
pen1.left(45)
TT=screen.textinput('提示','您需要多大的爱心')
TT=int(TT)
pen1.forward(TT*2)
pen1.circle(TT,180)
pen1.left(-90)
pen1.circle(TT,180)
pen.penup()
pen.goto(100,0)
pen.write("!!!",font=('Times',30,'normal'))
pen1.forward(TT*2)
turtle.done()
\ 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