Commit 9d7e3539 by BellCodeEditor

save project

parent c2f1308f
Showing with 24 additions and 2 deletions
# 利用write()帮助悟空给诺依回信吧~ # 利用write()帮助悟空给诺依回信吧~
\ No newline at end of file import turtle
pen1=turtle.Pen()
pen=turtle.Pen()
screen=turtle.Screen()
screen.bgcolor("yellow")
pen1.penup()
pen1.goto(150,-150)
pen1.write("祝大家\n圣诞快乐!",font=("Times",30,"normal"))
pen1.hideturtle()
pen.pensize(5)
pen.pencolor("red")
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()
\ 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