Commit a9cfae5f by BellCodeEditor

save project

parent a15989ca
Showing with 18 additions and 0 deletions
import turtle
# 利用write()帮助悟空给诺依回信吧~
# pen=turtle.Pen()
# pen.write("感谢你诺一,是你让我明白turtle的使用方法\n我以后会继续使用turtle模块的\n我送你一句名言\n书山有路勤为径,学海无涯苦作舟",font=("times",10,"normal"))
# pen.hideturtle()
# turtle.done()
pen_2=turtle.Pen()
pen_2.hideturtle()
pen_2.pensize(5)
pen_2.pencolor("red")
pen_2.left(45)
pen_2.forward(100)
pen_2.circle(50,180)
pen_2.right(90)
pen_2.circle(50,180)
pen_2.forward(100)
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