Commit 9d49e5fd by BellCodeEditor

save project

parent 6753504d
Showing with 8 additions and 3 deletions
......@@ -6,8 +6,13 @@ def new_input():
break
else:
try:
unit=int(unit)
except:
print('请重新输一个数字')
except:
else:
total.append(unit)
print("==========================")
return total
\ No newline at end of file
return total
result = new_input()
print(result)
\ 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