Commit 44457031 by BellCodeEditor

save project

parent 654bc3ba
Showing with 21 additions and 0 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
screen=turtle.Screen()
screen.bgcolor("blue")
len=screen.textinput("100","100")
len=int(len)
pen=turtle.Pen()
pen.write("你好\n诺伊\n我没学会turtle\n所以我要去你家偷走自由女神像\n 怪盗基德.",font=("Times",20,"normal"))
pen.pensize(3)
pen.pencolor("red")
pen.penup()
pen.goto(150,100)
pen.left(45)
pen.pendown()
pen.forward(100)
pen.circle(50,180)
pen.right(90)
pen.circle(50,180)
pen.forward(100)
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