Commit d3f4c127 by BellCodeEditor

auto save

parent cbb1ab19
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
...@@ -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)
......
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