Commit a2934dd4 by BellCodeEditor

save project

parent 70dfd4d4
Showing with 12 additions and 11 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle import turtle
pen=turtle.Pen()
screen=turtle.Screen() screen=turtle.Screen()
screen.bgcolor("light blue") screen.bgcolor("light blue")
pen.fillcolor("red") pen=turtle.Pen()
pen.pensize(5) pen.penup()
pen.goto(-180,-90)
pen.write("你好\n我是郭晨皓\npleased to meet you!",font=("Times",30,"normal"))
pen.hideturtle()
pen.penup()
pen.goto(0,0)
pen.pendown()
pen.pensize(10)
pen.pencolor("red") pen.pencolor("red")
pen.begin_fill()
pen.left(45) pen.left(45)
pen.fillcolor("red")
pen.begin_fill()
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.end_fill()
pen.hideturtle()
pen1=turtle.Pen()
pen1.penup()
pen1.goto(-180,-100)
pen1.write("Hello,我是郭晨皓,Pleased to meet you!\n祝你们感恩节快乐",font=("Times",30,"normal"))
pen1.hideturtle()
turtle.done() 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