Commit cebee45e by BellCodeEditor

save project

parent 2ed38a04
import func
point=func.new_input()
add=func.summ(point)
print('分数为'+str(add))
\ No newline at end of file
......@@ -16,11 +16,12 @@ def new_input():
return total
def summ(money):
su=0
for i in money:
su=i+su
return su
price=new_input()
a=sum(price)
print(a)
# price=new_input()
# a=sum(price)
# print(a)
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