Commit db0369ce by BellCodeEditor

save project

parent a15989ca
Showing with 22 additions and 0 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
a=turtle.Pen()
a.penup()
a.goto(100,-100)
a.pendown()
a.write("诺依,turtle真好用\n我很感激",font=("Times",30,"normal"))
a.hideturtle()
b=turtle.Pen()
b.pencolor("red")
b.fillcolor("red")
b.begin_fill()
b.left(45)
b.forward(100)
b.circle(50,180)
b.right(90)
b.circle(50,180)
b.forward(100)
b.end_fill()
turtle.bgcolor("pink")
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