Commit e5442091 by BellCodeEditor

save project

parent b5d2ea65
import func
data=func.sum_input()
score=func.sum(data)
input("这位选手的总分是:"+str(score))
\ No newline at end of file
......@@ -15,3 +15,13 @@ def new_input():
print("-"*30)
total.append(unit)
print(total)
return total
new_input()
def sum(money):
count=0
for i in range:
count=count+i
return count
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