Commit c0a749b3 by BellCodeEditor

save project

parent 6906c67c
Showing with 2142 additions and 1 deletions
...@@ -12,8 +12,2149 @@ def new_input(): ...@@ -12,8 +12,2149 @@ def new_input():
else: else:
total.append(unit) total.append(unit)
return total return total
result=new_input()
def jisuan(money):
sum=0
for i in money:
sum=sum+i
return sum
result=new_input()
a=jisuan(result)
print(result) print(result)
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