Commit 8ec3998d by BellCodeEditor

auto save

parent 23dfff73
Showing with 35 additions and 0 deletions
import turtle
pen = turtle.Pen()
pen.pencolor("green")
pen.pensize(5)
# pen.write("你好呀,张仙鹤~\nhuangchenguang",font = ("Times3",30,"normal"))
# pen.penup()
# pen.goto(-200,100)
# pen.pendown()
pen.fillcolor("green")
pen.begin_fill()
pen.left(45)
pen.forward(180)
pen.circle(90,180)
pen.right(90)
pen.circle(90,180)
pen.forward(180)
pen.end_fill()
pen.penup()
pen.goto(-50,100)
pen.down()
pen.pencolor("red")
pen.write("张",font = ("Times",80,"normal"))
pen.penup()
pen.goto(-200,-200)
pen.down()
pen.pencolor("green")
pen.write("要想人生过得去,\n头上必须带点绿。",font = ("Times",50,"normal"))
pen.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