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

Administrator / lesson11_5

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

auto save

parent cbb1ab19
Show whitespace changes
Inline Side-by-side
Showing with 4 additions and 4 deletions
  • __pycache__/oo.cpython-37.pyc
  • jhkj.py
  • oo.py
__pycache__/oo.cpython-37.pyc
View file @ d3f4c127
No preview for this file type
This diff is collapsed. Click to expand it.
jhkj.py
View file @ d3f4c127
import oo import oo
data=oo.new_input() data=oo.new_input()
score=oo.sum(data) #score=oo.sum(data)
print("总成绩为:"+str(score)) #print("总成绩为:"+str(score))
\ No newline at end of file \ No newline at end of file
This diff is collapsed. Click to expand it.
oo.py
View file @ d3f4c127
...@@ -18,7 +18,7 @@ def new_input(): ...@@ -18,7 +18,7 @@ def new_input():
def sum(money): def sum(money):
count=0 count=0
for i in money: for i in money:
count=count+i count=count+
return count return count
price=new_input() price=new_input()
pay=sum(price) pay=sum(price)
......
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