Commit b94421b8 by BellCodeEditor

save project

parent 93f3ca7e
Showing with 20 additions and 12 deletions
import turtle import turtle
qen=turtle.Pen()
qen.pensize(5)
qen.pencolor("red")
scrren=turtle.Screen()
len=scrren.textinput("提示","你需要的爱心?")
love=int(len)
qen.left(45)
qen.forward(2*love)
qen.circle(love,180)
qen.right(90)
qen.circle(love,180)
qen.forward(2*love)
screen=turtle.Screen() screen=turtle.Screen()
screen.bgcolor("blue") screen.bgcolor("blue")
pen=turtle.Pen() pen=turtle.Pen()
pen.penup() pen.penup()
pen.goto(-200,-100) pen.goto(-200,-100)
pen.hideturtle() pen.hideturtle()
pen.write("若以,tur真好用,\n我会在画布 上写字!",font=("Time",20,"normal")) pen.write("sb \n我爱你!",font=("Time",20,"normal"))
qen=turtle.Pen()
qen.pensize(5)
qen.pencolor("red")
len=20
qen.left(45)
qen.forward(2*len)
qen.circle(len,180)
qen.right(90)
qen.circle(len,180)
qen.forward(2*len)
# qen.hideturtle()
turtle.done() turtle.done()
\ No newline at end of file
import turtle
scrren=turtle.Screen()
scrren.textinput("姓名框","你的名字是:")
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