Commit 9401a85d by BellCodeEditor

save project

parent 654bc3ba
Showing with 20 additions and 0 deletions
import turtle
screen=turtle.Screen()
screen.bgcolor("pink")
pen=turtle.Pen()
pen.hideturtle()
pen.penup()
pen.goto(80,-100)
pen.write("感谢你诺一,是你让我明白turtle的使用方法\n我以后会继续使用turtle模块的\n我送你一句名言\n书山有路勤为径,学海无涯苦作舟",font=("times",10,"normal"))
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