Commit 916a4311 by BellCodeEditor

auto save

parent dbdf5632
Showing with 6 additions and 5 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
screen=turtle.Screen()
screen.bgcolor("light ")
len=screen.textinput("200","200")
screen.bgcolor("light blue")
len=screen.textinput("jgjgij","reufhrrefriuf")
len=int(len)
pen=turtle.Pen()
pen.write("你呀的瞅什么呢\n我是爹米老鼠.",font=("Times",30,"normal"))
pen.write("你呀的瞅什么呢\n我是your爹米老鼠.",font=("Times",30,"normal"))
pen.hideturtle()
pen.penup()
pen.goto(100,100)
......@@ -13,11 +13,12 @@ pen.pendown()
pen.pensize(5)
pen.pencolor("red")
len=60
lovesize=int(len)
pen.left(45)
pen.forward(2*len)
pen.forward(2*lovesize)
pen.circle(len,180)
pen.right(90)
pen.circle(len,180)
pen.forward(2*len)
pen.forward(2*lovesize)
pen.hideturtle()
turtle.done()
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