Commit 48c03170 by BellCodeEditor

save project

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