Commit 40fb4089 by BellCodeEditor

save project

parent a64f793e
Showing with 5 additions and 4 deletions
...@@ -8,9 +8,10 @@ def mom_input(): ...@@ -8,9 +8,10 @@ def mom_input():
try: try:
unit = int(unit) unit = int(unit)
except: except:
print('请重') print('请重')
else: else:
total.append(unit) total.append(unit)
print('-'*30) print('-'*30)
print(total) return total
mom_input() a=mom_input()
\ No newline at end of file print(a)
\ 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