Commit f3efa683 by BellCodeEditor

save project

parent 6f6abbde
Showing with 9 additions and 5 deletions
......@@ -15,9 +15,12 @@ def new_input():
print('-'*30)
return total
result = new_input()
print(result)
#sum = 0
#for i in result:
# sum sum+result[i]
#print(sum)
def sum(money):
count = 0
for i in money:
count = count+[i]
return count
result = new_input()
pay = new_input()
print('共消费'+str(pay)+'元')
\ 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