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

bellcode / lesson6-5-2

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

save project

parent 9f77abe3
Hide whitespace changes
Inline Side-by-side
Showing with 73 additions and 0 deletions
  • ddd.py
  • dedd.py
  • hhjh.py
  • xxx.py
ddd.py 0 → 100644
View file @ 37965913
import turtle
turtle.penup()
turtle.goto(-100,100)
turtle.pendown()
turtle.forward(200)
turtle.right(90)
turtle.forward(200)
turtle.right(90)
turtle.forward(200)
turtle.right(90)
turtle.forward(200)
turtle.right(90)
turtle.penup()
turtle.goto(0,0)
turtle.dot(20,"red")
turtle.penup()
turtle.goto(40,0)
turtle.dot(20,"red")
turtle.penup()
turtle.goto(-40,0)
turtle.dot(20,"red")
turtle.hideturtle()
This diff is collapsed. Click to expand it.
dedd.py 0 → 100644
View file @ 37965913
o=3.14
r=float(input("半径:")
d=2*r
C=2*o*r
S=o*r*r
\ No newline at end of file
This diff is collapsed. Click to expand it.
hhjh.py 0 → 100644
View file @ 37965913
a=6 #长
b=3 #宽
s=a*b #面积
print(s)
\ No newline at end of file
This diff is collapsed. Click to expand it.
xxx.py 0 → 100644
View file @ 37965913
import turtle
turtle.goto(0,-200)
turtle.pendown()
turtle.circle(200)
turtle.penup()
turtle.goto(-100,50)
turtle.pendown()
turtle.circle(20)
turtle.fillcolor("blue")
turtle.begin_fill()
turtle.end_fill()
turtle.penup()
turtle.forward(200)
turtle.pendown()
turtle.circle(20)
turtle.fillcolor("blue")
turtle.begin_fill()
turtle.end_fill()
turtle.penup()
turtle.goto(0,50)
turtle.pendown()
turtle.circle(-50,steps=3)
turtle.goto(-150,-70)
turtle.pendown()
turtle.goto(0,-170)
turtle.goto(-150,-70)
turtle.penup()
turtle.forward(300)
turtle.pendown()
turtle.goto(0,-170)
turtle.done
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