Commit c2daff7a by BellCodeEditor

save project

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