Commit a23afe64 by BellCodeEditor

save project

parent 7c1c7009
Showing with 8 additions and 3 deletions
import func
list=func.new_input()
total=func.sum()
\ No newline at end of file
import.
def new_input(): def new_input():
total = [] total = []
while True: while True:
...@@ -19,5 +20,5 @@ def sum(money): ...@@ -19,5 +20,5 @@ def sum(money):
for i in money: for i in money:
a=a+i a=a+i
return a return a
list = new_input() # list = new_input()
print(list) # print("一共需要",(list))
\ No newline at end of file \ No newline at end of file
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