Commit 456d5df2 by BellCodeEditor

auto save

parent 7d757f9b
Showing with 7 additions and 1 deletions
......@@ -5,5 +5,11 @@ while True:
if unit== 'q':
break
else:
total.append(unit)
#try方法
try:
a=int(unit)
except:
print()
else:
total.append(unit)
print(total)
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