Commit 120ee030 by BellCodeEditor

save project

parent e364eff1
Showing with 1 additions and 22 deletions
# 利用write()帮助悟空给诺依回信吧~ |pen.hideturtle()
import turtle
pen=turtle.Pen()
pen.penup()
pen.goto(100,-150)
pen.write("hi\nhi\n悟空",font=("Times",50,"normal"))
pen.hideturtle()
pen1=turtle.Pen()
pen1.pensize(10)
screen.textinput("画爱心""请输入爱心的大小:")
pen1.pencolor("red")
pen1.left(45)
pen1.forward(130)
pen1.circle(65,180)
pen1.right(90)
pen1.circle(65,180)
pen1.forward(130)
pen1.hideturtle()
screen=turtle.Screen()
screen.bgcolor("light blue")
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