Commit 091a3af9 by BellCodeEditor

save project

parent 9c66c869
Showing with 17 additions and 4 deletions
# 利用write()帮助悟空给诺依回信吧~ # # 利用write()帮助悟空给诺依回信吧~
import turtle import turtle
p=turtle.Pen() # p=turtle.Pen()
p.write("你\n\n\n衣",font=("Times",20,"normal")) # p.write("你\n好\n诺\n衣",font=("Times",20,"normal"))
p.hideturtle() # p.hideturtle()
# turtle.done()
a1=turtle.Pen()
a1.pensize(200)
a1.pencolor("red")
a1.left(45)
a1.forward(100)
a1.circle(50,180)
a1.right(90)
a1.circle(50,180)
a1.forward(100)
a1.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