Commit d9ff1a9a by BellCodeEditor

save project

parent fea2f53c
Showing with 3 additions and 3 deletions
...@@ -13,7 +13,7 @@ def new_input(): ...@@ -13,7 +13,7 @@ def new_input():
print("给我输数!") print("给我输数!")
else: else:
total.append(unit) total.append(unit)
con = con+unit
return total return total
result = new_input() result = new_input()
print(result) print(result)
\ No newline at end of file print("您一共消费了XXX元!扫码还是现金呢?")
\ 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