Commit 5069b278 by BellCodeEditor

save project

parent 5df08f5e
Showing with 16 additions and 3 deletions
import turtle
pen = turtle.Pen()
pen.write("独坐敬亭山\n [唐]李白 \n众鸟高飞尽,\n孤云独去闲。\n相看两不厌,\n只有敬亭山。",font=("Times",20,"normal"))
pen.hideturtle()
# pen = turtle.Pen()
# pen.write("独坐敬亭山\n [唐]李白 \n众鸟高飞尽,\n孤云独去闲。\n相看两不厌,\n只有敬亭山。",font=("Times",20,"normal"))
# pen.hideturtle()
# turtle.done()
a = turtle.Pen()
a.color("red")
a.pensize(5)
a.speed(10)
a.left(45)
a.forward(100)
a.circle(50,180)
a.right(90)
a.circle(50,180)
a.forward(100)
a.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