Commit 6c9d0c22 by BellCodeEditor

save project

parent dc70412a
Showing with 24 additions and 0 deletions
def sb_input():
sb = []
while True:
unit= input("请输入:")
if unit== 'q':
break
else:
try:
unit = int(unit)
except:
print("你个傻逼,你输错了")
else:
sb.append(unit)
print("-"*30)
print(total)
result = sb
def SB(money):
sb1=0
for i in money:
sb1 = sb1+i
return sb1
sb2 = sb3_input()
print("傻逼你花了" + str(sb4)+"元,用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