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

bellcode / lesson3-4-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-4-1_DIY1
  • 2.py
Find file
BlameHistoryPermalink
  • BellCodeEditor's avatar
    save project · bd08dcec
    BellCodeEditor committed 2 years ago
    bd08dcec
2.py 478 Bytes
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
import turtle
S1=turtle.Pen()
S1.bgcolor("pink")
pen=turtle.Pen()
pen.penup()
pen.goto(0,-100)
pen.write("我看到你就想吐,\n你还是趁早滚,\n反正世界少了你地球一样转!",font=("Time",20,"normal"))
pen.hideturtle()
pen0=turtle.Pen()
len=60
pen0.color("black")
pen0.begin_fill()
pen0.left(45)
pen0.forward(len*2)
pen0.circle(len,180)
pen0.right(90)
pen0.circle(len,180)
pen0.forward(100)
pen0.end_fill()
pen.hideturtle()
turtle.done()