Commit c0c46e63 by BellCodeEditor

save project

parent d1ee0b6c
Showing with 5 additions and 4 deletions
......@@ -7,9 +7,10 @@ def new_input():
try:
unit=int(unit)
except:
print("滚你妈,傻波一,脑残,写什么其他玩意儿!")
print("不对!")
continue
else:
total.append(unit)
print(total)
new_input()
\ No newline at end of file
return total
result = new_input()
print("输入的菜品价格是:",result)
\ 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