Commit aed28972 by BellCodeEditor

save project

parent d66aa156
Showing with 6 additions and 6 deletions
l=60
import turtle
screen=turtle.Screen()
e=screen.textinput("问题","爱心要多大")
l=int(e)
import turtle
screen=turtle.Screen()
screen.bgcolor("pink")
screen.bgcolor("red")
pen=turtle.Pen()
pen.penup()
pen.goto(100,-100)
......@@ -13,7 +13,7 @@ pen.write("你好",font=("Times",15,"normal"))
pen.hideturtle()
turtle.pendown()
pen=turtle.Pen()
pen.pencolor("red")
pen.pencolor("green")
pen.pensize(5)
pen.left(45)
pen.forward(l*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