Commit 576940e4 by BellCodeEditor

save project

parent 00160f2b
Showing with 3 additions and 1 deletions
...@@ -3,12 +3,14 @@ import turtle ...@@ -3,12 +3,14 @@ import turtle
pen1=turtle.Pen() pen1=turtle.Pen()
screen=turtle.Screen() screen=turtle.Screen()
screen.bgcolor("pink") screen.bgcolor("pink")
pen1.penup() pen1.penup()
pen1.goto(100,-100) pen1.goto(100,-100)
pen1.write("诺依\n你好呀",font=("Times",30,"normal")) pen1.write("诺依\n你好呀",font=("Times",30,"normal"))
pen1.hideturtle() pen1.hideturtle()
#画爱心 #画爱心
len=60 len=int(screen.textinput("提示","你想要画多大的爱心呀"))
pen=turtle.Pen() pen=turtle.Pen()
pen.pencolor("red") pen.pencolor("red")
pen.pensize(5) pen.pensize(5)
......
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