Commit 6cc34288 by BellCodeEditor

save project

parent d40748f0
Showing with 10 additions and 13 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle import turtle
pen=turtle.Pen()
screen=turtle.Screen() screen=turtle.Screen()
screen.bgcolor("light blue") screen.bgcolor("light blue")
pen.pensize(30) pen=turtle.Pen()
pen.write("感恩节快乐",font=("Times",30,"normal"))
pen.hideturtle()
pen.penup()
pen.goto(-100,-50)
pen.pendown()
pen.pensize(5)
pen.pencolor("red") pen.pencolor("red")
pen.fillcolor("pink")
pen.begin_fill()
pen.left(45) pen.left(45)
pen.forward(200) pen.forward(200)
pen.circle(100,180) pen.circle(100,180)
pen.right(90) pen.right(90)
pen.circle(100,180) pen.circle(100,180)
pen.forward(200) pen.forward(200)
pen.end_fill() pen.hideturtle()
pen2=turtle.Pen() turtle.done()
pen2.penup()
pen2.goto(100,-100)
pen2.right(45)
pen2.write("感恩节快乐",font=("Times",30,"normal"))
pen2.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