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

bellcode / lesson3-2_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
Commit f3a4110c authored 4 years ago by BellCodeEditor's avatar BellCodeEditor
Browse files
Options
  • Browse Files
  • Download
  • Email Patches
  • Plain Diff

auto save

parent af6ab806
Hide whitespace changes
Inline Side-by-side
Showing with 12 additions and 7 deletions
  • diy1.py
diy1.py
View file @ f3a4110c
...@@ -5,11 +5,15 @@ import turtle ...@@ -5,11 +5,15 @@ import turtle
# pen.hideturtle() # pen.hideturtle()
# turtle.done() # turtle.done()
penl=turtle.Pen() penl=turtle.Pen()
pen.pencolor("red") penl.fillcolor("red")
penl=left(45) penl.begin_fill()
penl=forward(100) penl.pencolor("red")
penl=circle(50,100) penl.left(45)
penl=right(90) penl.forward(100)
penl=circle(50,100) penl.circle(50,180)
penl=forward(100) penl.right(90)
penl.circle(50,180)
penl.forward(100)
penl.end_fill()
turtle.done() turtle.done()
\ No newline at end of file
This diff is collapsed. Click to expand it.
  • Write
  • Preview
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