Commit a5df21cd by BellCodeEditor

auto save

parent b314af86
Showing with 15 additions and 0 deletions
...@@ -2,6 +2,21 @@ def new_input(): ...@@ -2,6 +2,21 @@ def new_input():
total = [] total = []
while True: while True:
unit= input("请输入:") unit= input("请输入:")
try:
e=int(unit)
try:
print("请输入:")
Exception
except expression as identifier:
else:
except expression as identifier:
except expression as identifier:
if unit== 'q': if unit== 'q':
break break
else: else:
......
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