Commit ef29a870 by BellCodeEditor

save project

parent 6a762c78
Showing with 3 additions and 10 deletions
...@@ -5,14 +5,6 @@ def ze(): ...@@ -5,14 +5,6 @@ def ze():
if unit== 'q': if unit== 'q':
break break
else: else:
try:
unit=int(unit)
except:
print("请输入数字")
else:
total.append(unit) total.append(unit)
finally: print(total)
print("-"*30) ze()
return total \ No newline at end of file
a=ze()
print(a)
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