Commit f3efa683 by BellCodeEditor

save project

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