Commit 30e51a8e by BellCodeEditor

auto save

parent 42e6567a
Showing with 22 additions and 2 deletions
# 利用write()帮助悟空给诺依回信吧~ # 利用write()帮助悟空给诺依回信吧~
\ No newline at end of file import turtle
screen = turtle.Screen()
screen.bgcolor("light blue")
pen = turtle.Pen()
pen.penup()
pen.goto(100, -100)
pen.write("你\n\n呀!",font=("Times",30,"normal"))
pen.hideturtle()
pen1 = turtle.Pen()
pen1.pensize(5)
pen1.pencolor("red")
len = 50
pen1.lt(45)
pen1.fd(len*2)
pen1.circle(len, 180)
pen1.rt(90)
pen1.circle(len, 180)
pen1.fd(len*2)
pen1.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