Commit aefbb246 by BellCodeEditor

save project

parent 6b7c13aa
...@@ -22,6 +22,9 @@ def sum(money): ...@@ -22,6 +22,9 @@ def sum(money):
for i in money: for i in money:
count=i+count count=i+count
return count return count
price=new_input()
pay=sum(price)
print('您一共消费了'+str(pay)+'元')
\ No newline at end of file # price=new_input()
# pay=sum(price)
# print('您一共消费了'+str(pay)+'元')
\ No newline at end of file
import func import func
data=func.new_input() data=func.new_input()
data=sum(data) date=sum(data)
print('总分是'+str(date))
\ 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