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

bellcode / lesson2-3-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
  • lesson2-3-1_DIY1
  • diy1.py
Find file
BlameHistoryPermalink
  • BellCodeEditor's avatar
    save project · da4c08e8
    BellCodeEditor committed 5 years ago
    da4c08e8
diy1.py 322 Bytes
Edit
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
import turtle
T = turtle.Pen()

T.begin_fill()
T.fillcolor("red")
T.penup()
T.goto(-50,55)
T.left(135)
T.pendown()
T.circle(50,180)
T.forward(100)
T.left(90)
T.forward(100)
T.circle(50,180)
T.end_fill()
T.penup()
T.goto(150,50)
T.write("Hello~",font=("Times",20,"normal"))
T.hideturtle()

turtle.done()