Commit e58b5209 by BellCodeEditor

save project

parent b45c20f5
Showing with 10 additions and 5 deletions
import turtle
# screen=turtle.Screen()
# screen.bgcolor("red")
screen=turtle.Screen()
screen.bgcolor("red")
pen=turtle.Pen()
len=screen.textinput("提示","多大?")
lovesize=int(len)
pen.penup()
pen.goto(100,-25)
pen.write("你个",font=("Times",90,"normal"))
......@@ -18,10 +22,10 @@ pen2=turtle.Pen()
pen2.pencolor("green")
pen2.pensize(25)
pen2.left(45)
pen2.forward(50)
pen2.circle(25,180)
pen2.forward(lovesize*2)
pen2.circle(lovesize,180)
pen2.right(90)
pen2.circle(25,180)
pen2.forward(50)
pen2.circle(lovesize,180)
pen2.forward(lovesize*2)
pen2.hideturtle()
turtle.done()
\ No newline at end of file
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