Commit 9b406219 by BellCodeEditor

save project

parent 2ec1a4fa
Showing with 7 additions and 4 deletions
......@@ -10,6 +10,10 @@ def k():
a=int(unit)
except:
print("请输入一个整数哦~")
total.append(unit)
print(total)
k()
\ No newline at end of file
else:
total.append(unit)
finally:
print("-"*30)
return total
result=k()
print(result)
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