Commit 83a272ee by BellCodeEditor

save project

parent 973842fa
Showing with 8 additions and 1 deletions
......@@ -5,5 +5,12 @@ def qwe():
if unit== 'q':
break
else:
total.append(unitqwe())
i=0
try:
i = int(unit)
except:
print('要输入整数啊')
else:
total.append(i)
qwe()
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