Commit c8445d81 by BellCodeEditor

save project

parent f432564f
Showing with 8 additions and 4 deletions
...@@ -8,12 +8,16 @@ def a(): ...@@ -8,12 +8,16 @@ def a():
try: try:
unit=int(unit) unit=int(unit)
except: except:
print('两个号合计投入就hi呕吐女人和你天天天天上') print('输入错误,请重输入')
else: else:
total.append(unit) total.append(unit)
finally: finally:
print("-"*30) print("-"*30)
print(total)
return total return total
def sum(money):
count+=i
return count
a() a()
print(total) sum(total)
\ No newline at end of file
\ 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