Commit 0522a278 by BellCodeEditor

save project

parent fdd3b916
Showing with 4 additions and 7 deletions
...@@ -8,12 +8,9 @@ def new_input(): ...@@ -8,12 +8,9 @@ def new_input():
try: try:
unit=int(unit) unit=int(unit)
except: except:
print("请输入数字") print("hh")
else: else:
total.append(unit) total.append(unit)
print('-'*30) print('_'*30)
return total print(total)
rs=new_input() new_input()
print(rs)
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