Commit c96d444e by BellCodeEditor

save project

parent 6c9d0c22
Showing with 5 additions and 5 deletions
...@@ -12,12 +12,12 @@ def sb_input(): ...@@ -12,12 +12,12 @@ def sb_input():
else: else:
sb.append(unit) sb.append(unit)
print("-"*30) print("-"*30)
print(total) return sb
result = sb
def SB(money): def SB(money):
sb1=0 sb1=0
for i in money: for i in money:
sb1 = sb1+i sb1 = sb1+i
return sb1 return sb1
sb2 = sb3_input() sb2 = sb_input()
print("傻逼你花了" + str(sb4)+"元,用sb5还是sb6支付") sb3 = SB(sb2)
\ No newline at end of file print("傻逼你花了" + str(sb3)+"元,用sb5还是sb6支付")
\ 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