Commit 90bf7a91 by BellCodeEditor

save project

parent 711e632a
Showing with 3 additions and 0 deletions
...@@ -3,6 +3,9 @@ def aa(): ...@@ -3,6 +3,9 @@ def aa():
total = [] total = []
while True: while True:
unit= input("请输入:") unit= input("请输入:")
try:
unit= int(unit)
except:
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