Commit cbab89cf by BellCodeEditor

auto save

parent 32813c95
Showing with 16 additions and 11 deletions
......@@ -4,7 +4,7 @@ screen=turtle.Screen()
screen.bgcolor("light blue")
len=screen.textinput("提示","你想要多大的气球")
lovesize=int(len)
len=100
len=90
pen.pendown()
pen.pensize(5)
pen.pencolor("blue")
......@@ -16,7 +16,7 @@ pen.circle(len,180)
pen.forward(2*len)
turtle.done()
pen=turtle.Pen()
pen.goto(100,-100)
pen.goto(100,0)
pen.write("你好\n洛伊.",font=("Times",30,"normal"))
pen.hideturtle()
pen.penup()
......
......@@ -2,17 +2,21 @@ import turtle
pen=turtle.Pen()
screen=turtle.Screen()
screen.bgcolor("light blue")
pen=turtle.Pen()
len=screen.textinput("提示","你想要多大的气球")
lovesize=int(len)
len=90
pen.pendown()
pen.pensize(5)
pen.pencolor("biue")
pen.pencolor("blue")
pen.left(45)
pen.forward(100)
pen.circle(50,180)
pen.forward(2*len)
pen.circle(len,180)
pen.right(90)
pen.circle(50,180)
pen.forward(100)
pen.write("huhdhehe",font=("Times",30,"normal"))
pen.circle(len,180)
pen.forward(2*len)
import turtle
screen=turtle.Screen()
screen.bgcolor("light blue")
pen=turtle.Pen()
pen.goto(100,0)
pen.penup()
pen.write("huhdhehe",font=("Times",30,"normal"))
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