Commit 242cf075 by BellCodeEditor

save project

parent cc31291e
Showing with 2 additions and 1 deletions
import turtle import turtle
screen=turtle.Screen() screen=turtle.Screen()
len1=screen.textinput("提示","你想要一个多大的爱心? ")
len=int(len1)
screen.bgcolor("pink") screen.bgcolor("pink")
pen=turtle.Pen() pen=turtle.Pen()
pen.shape("turtle") pen.shape("turtle")
...@@ -7,7 +9,6 @@ pen.penup() ...@@ -7,7 +9,6 @@ pen.penup()
pen.goto(100,-100) pen.goto(100,-100)
pen.write("诺依新年快乐",font=("Times",30,"normal")) pen.write("诺依新年快乐",font=("Times",30,"normal"))
pen.hideturtle() pen.hideturtle()
len=50
pen1=turtle.Pen() pen1=turtle.Pen()
pen1.pensize(5) pen1.pensize(5)
pen1.pencolor("red") pen1.pencolor("red")
......
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