Commit 6bb1a9cb by BellCodeEditor

save project

parent 9a90c878
Showing with 4 additions and 3 deletions
......@@ -5,10 +5,10 @@ def new_input():
try:
int(unit)
except:
print('请输入数字')
else:
if unit== 'q':
break
else:
total.append(unit)
print('请输入数字')
else:
total.append(unit)
print(total)
\ No newline at end of file
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