Commit 6eac2668 by BellCodeEditor

auto save

parent 1ffadc9b
Showing with 10 additions and 3 deletions
...@@ -11,5 +11,12 @@ def kadfccdsw(): ...@@ -11,5 +11,12 @@ def kadfccdsw():
print("输入错误,请重新输入") print("输入错误,请重新输入")
else : else :
total.append(unit) total.append(unit)
print(total) return total
kadfccdsw() def c(money):
\ No newline at end of file sum = 0
for i in money:
sum = sum+i
return sum
result = kadfccdsw()
reslut = c(result)
#print("总计"+str(reslut)+"元,请问您是现金还是微信")
\ 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