Commit 0a82a7bf by BellCodeEditor

save project

parent 2ee8e1e7
Showing with 17 additions and 6 deletions
# 利用write()帮助悟空给诺依回信吧~ # 利用write()帮助悟空给诺依回信吧~
import turtle import turtle
pen=turtle.Pen() # pen=turtle.Pen()
pen.write("Hi,诺伊~\n你的贺卡太好了!\n——悟空",font=("Times",20,"normal")) # pen.write("Hi,诺伊~\n你的贺卡太好了!\n——悟空",font=("Times",20,"normal"))
Pen.hideturtle() # Pen.hideturtle()
turtle.done() # turtle.done()
\ No newline at end of file Pen1=turtle.Pen()
Pen1.pencolor("red")
Pen1.pensize(5)
Pen1.left(45)
Pen1.forward(100)
Pen1.circle(50,180)
Pen1.right(90)
Pen1.circle(50,180)
Pen1.forward(100)
Pen1.hideturtle()
Pen1.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