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
  • 7.py
Find file
BlameHistoryPermalink
  • BellCodeEditor's avatar
    auto save · 157a91cf
    BellCodeEditor committed 3 years ago
    157a91cf
7.py 323 Bytes
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
import turtle
pen=turtle.Pen()
def ORing(a,b,color):
    pen.pencolor(color)
    pen.pensize(5)
    pen.penup()
    pen.goto(a,b)
    pen.pendown()
    pen.circle(40)
ORing(-100,50,"blue")
ORing(-15,50,"black")
ORing(70,50,"red")
ORing(-60,-10,"yellow")
ORing(25,-10,"green")
pen.hideturtle()
turtle.done()