Commit e5e7ee49 by BellCodeEditor

save project

parent b541410a
Showing with 11 additions and 2 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
# p=turtle.Pen()
# p.write("你好",fort("Times",30,"normal"))
screen=turtle.Screen()
screen.bgcolor("pink")
p=turtle.Pen()
p.penup()
p.goto(100,100)
p.pendown()
p.write("你好,诺伊",fort=("Times",30,"normal"))
pen=turtle.Pen()
pen.pencolor("red")
pen.pensize(20)
pen.fillcolor("red")
pen.begin_fill()
pen.left(45)
pen.forward(100)
pen.circle(50,180)
pen.right(90)
pen.circle(50,180)
pen.forward(100)
pen.end_fill()
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