Commit 31650f9d by BellCodeEditor

save project

parent 33952bd7
Showing with 3 additions and 1 deletions
...@@ -11,5 +11,6 @@ def new_input(): ...@@ -11,5 +11,6 @@ def new_input():
print("你输入的不是数字,请输入数字!") print("你输入的不是数字,请输入数字!")
else: else:
total.append(unit) total.append(unit)
print(total) return total
price = new_input()
new_input() new_input()
\ 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