Commit 9ec266c9 by BellCodeEditor

save project

parent 7a8f92b3
......@@ -14,7 +14,7 @@ def new_input():
finally:
print('==============================================================')
return totle
a = new_input()
#a = new_input()
def sum(money):
count = 0
......@@ -22,6 +22,10 @@ def sum(money):
count = count + i
return count
pay = sum(a)
print('您一共消费了' + str(pay) + '元')
#pay = sum(a)
#print('您一共消费了' + str(pay) + '元')
from func import *
data = new_input()
score = sum(data)
print('总分为:'+str(score))
\ 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