Commit 071276a6 by BellCodeEditor

save project

parent a40f5e6a
Showing with 2 additions and 1 deletions
import turtle import turtle
len=60
screen=turtle.Screen() screen=turtle.Screen()
screen.bgcolor("light blue") screen.bgcolor("light blue")
len=float(screen.textinput("提示","你想要多大的心?"))
pen=turtle.Pen() pen=turtle.Pen()
pen.penup() pen.penup()
pen.goto(100,-100) pen.goto(100,-100)
pen.write("你好,\n诺依!",font=("Times",20,"normal")) pen.write("你好,\n诺依!",font=("Times",20,"normal"))
pen1=turtle.Pen() pen1=turtle.Pen()
pen1.hideturtle()
pen1.pencolor("green") pen1.pencolor("green")
pen1.left(45) pen1.left(45)
pen1.forward(len*2) pen1.forward(len*2)
......
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