Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

bellcode / lesson3-1-1_DIY1

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Snippets
  • Members
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Switch branch/tag
  • lesson3-1-1_DIY1
  • diy1.py
Find file
BlameHistoryPermalink
  • BellCodeEditor's avatar
    save project · d8b08017
    BellCodeEditor committed 4 years ago
    d8b08017
diy1.py 825 Bytes
Edit
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
# # 利用write()帮助悟空
# import turtle
# pen=turtle.Pen()
# pen.write("生前遗书:\n✌菌希\n愿望:当我的傻X儿子!!!!!!\n是个傻逼!!!!!\n不是人!!!!\n爱吃屎\n享年10岁\n      2021.3.19  蒋瑞",font=("Times",30,"normal"))
# pen.hideturtle()
# turtle.done()
# import turtle
# pen=turtle.Pen()
# pen.write("生前遗书:\n✌菌希\n愿望:当我的傻X儿子!!!!!!\n是个傻逼!!!!!\n不是人!!!!\n爱吃屎\n享年10岁\n      2021.3.19  蒋瑞",font=("Times",30,"normal"))
# 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()