Commit c705b635 by BellCodeEditor

save project

parent 96c0d245
Showing with 5 additions and 1 deletions
...@@ -11,10 +11,14 @@ def cnmdm(): ...@@ -11,10 +11,14 @@ def cnmdm():
print('操你妈狗屁') print('操你妈狗屁')
else: else:
total.append(unit) total.append(unit)
finally
print('-'*30) print('-'*30)
return total return total
price = cnmdm()
pay = sum(price)
print('您一共消费了' + str(pay) + '元!扫码还是现金?')
result = cnmdm() result = cnmdm()
print(result) print(result)
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