Commit 6eac2668 by BellCodeEditor

auto save

parent 1ffadc9b
Showing with 10 additions and 3 deletions
......@@ -11,5 +11,12 @@ def kadfccdsw():
print("输入错误,请重新输入")
else :
total.append(unit)
print(total)
kadfccdsw()
\ No newline at end of file
return total
def c(money):
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