Commit d0b17f05 by BellCodeEditor

save project

parent f1c6db5f
Showing with 1 additions and 1 deletions
...@@ -7,7 +7,7 @@ def new_input(): ...@@ -7,7 +7,7 @@ def new_input():
except: except:
print("请输入一个数字!") print("请输入一个数字!")
else: else:
total.append(price) total.append(unit)
return total return total
result = new_input() result = new_input()
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