Commit 78b22279 by BellCodeEditor

save project

parent 07858a54
Showing with 21 additions and 0 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
screen=turtle.Screen()
screen.bgcolor("green")
pen=turtle.Pen()
pen.penup()
pen.goto(100,10)
pen.write("鸡你太美",font=("times",10,"normal"))
pen.pensize(20)
pen.pencolor("red")
pen.goto(0,0)
pen.pendown()
s=screen.textinput("提示","爱心要多大")
pen.left(45)
pen.forward(2*s)
pen.circle(s,180)
pen.right(90)
pen.circle(s,180)
pen.forward(2*s)
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