Commit d8b08017 by BellCodeEditor

save project

parent fb4c7c37
Showing with 21 additions and 10 deletions
# 利用write()帮助悟空 # # 利用write()帮助悟空
import turtle # import turtle
pen=turtle.Pen() # pen=turtle.Pen()
pen.write("生前遗书:\n✌菌希\n愿望:当我的傻X儿子!!!!!!\n是个傻逼!!!!!\n不是人!!!!\n爱吃屎\n享年10岁\n 2021.3.19 蒋瑞",font=("Times",30,"normal")) # pen.write("生前遗书:\n✌菌希\n愿望:当我的傻X儿子!!!!!!\n是个傻逼!!!!!\n不是人!!!!\n爱吃屎\n享年10岁\n 2021.3.19 蒋瑞",font=("Times",30,"normal"))
pen.hideturtle() # pen.hideturtle()
turtle.done() # turtle.done()
import turtle # import turtle
pen=turtle.Pen() # pen=turtle.Pen()
pen.write("生前遗书:\n✌菌希\n愿望:当我的傻X儿子!!!!!!\n是个傻逼!!!!!\n不是人!!!!\n爱吃屎\n享年10岁\n 2021.3.19 蒋瑞",font=("Times",30,"normal")) # pen.write("生前遗书:\n✌菌希\n愿望:当我的傻X儿子!!!!!!\n是个傻逼!!!!!\n不是人!!!!\n爱吃屎\n享年10岁\n 2021.3.19 蒋瑞",font=("Times",30,"normal"))
pen.hideturtle() # pen.hideturtle()
# turtle.done()
pen12345.turtle=Pen()
pen12345.pencolor("red")
pen12345.pensize(12)
pen12345.left(45)
pen12345.forward(100)
pen12345.circle(50,180)
pen12345.right(90)
pen12345.circle(50,180)
pen12345.forward(100)
pen12345.hideturtle()
turtle.done() turtle.done()
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