Commit ac1f959e by BellCodeEditor

save project

parent 654bc3ba
Showing with 23 additions and 0 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
pen=turtle.Pen()
s=turtle.Screen()
s.bgcolor("blue")
pen.penup()
pen.goto(100,-100)
pen.write("你好,\n诺伊",font=("Times",20,"normal"))
pen.hideturtle()
p=turtle.Pen()
p.pensize(2)
p.pencolor("red")
p.left(45)
p.forward(100)
p.circle(50,180)
p.right(90)
p.circle(50,180)
p.forward(100)
p.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