Commit b9ea73af by BellCodeEditor

save project

parent a9e1feeb
Showing with 2 additions and 2 deletions
...@@ -8,8 +8,8 @@ def get_list(): ...@@ -8,8 +8,8 @@ def get_list():
price = int(s) price = int(s)
except: except:
print('请输入数字') print('请输入数字')
else: else:
total.append(price) total.append(price)
return total return total
print(get_list()) print(get_list())
......
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