Commit c2daff7a by BellCodeEditor

save project

parent ff5a7a74
Showing with 2 additions and 7 deletions
......@@ -5,12 +5,6 @@ def hanshu():
if unit== 'q':
break
else:
try:
unit= int(unit)
except:
print("要输入整数啊")
else:
total.append(unit)
print("-"*100)
total.append(unit)
print(total)
hanshu()
\ 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