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 a9cfae5f authored 5 years ago by BellCodeEditor's avatar BellCodeEditor
Browse files
Options
  • Browse Files
  • Download
  • Email Patches
  • Plain Diff

save project

parent a15989ca
Hide whitespace changes
Inline Side-by-side
Showing with 18 additions and 0 deletions
  • diy1.py
diy1.py 0 → 100644
View file @ a9cfae5f
import turtle
# 利用write()帮助悟空给诺依回信吧~
# pen=turtle.Pen()
# pen.write("感谢你诺一,是你让我明白turtle的使用方法\n我以后会继续使用turtle模块的\n我送你一句名言\n书山有路勤为径,学海无涯苦作舟",font=("times",10,"normal"))
# pen.hideturtle()
# turtle.done()
pen_2=turtle.Pen()
pen_2.hideturtle()
pen_2.pensize(5)
pen_2.pencolor("red")
pen_2.left(45)
pen_2.forward(100)
pen_2.circle(50,180)
pen_2.right(90)
pen_2.circle(50,180)
pen_2.forward(100)
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