Commit 7efd7e8d by BellCodeEditor

save project

parent fce705b6
Showing with 3 additions and 3 deletions
import turtle import turtle
screen=turtle.Screen() screen=turtle.Screen()
screen.bgcolor("light blue") len=screen.textinput("提示","你想要多大的爱心呀?")
pen=turtle.Pen() lovesize=int(len)
pen.penup() pen1=turtle.pen()
pen.goto(-100,-100) pen.goto(-100,-100)
pen.write("诺依,\nturtle真好用,\n我会在画布上写字!了",font=("Times",13,"normal")) pen.write("诺依,\nturtle真好用,\n我会在画布上写字!了",font=("Times",13,"normal"))
pen.hideturtle() pen.hideturtle()
......
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