Commit 954ac760 by BellCodeEditor

save project

parent edf2c828
Showing with 7 additions and 3 deletions
...@@ -10,6 +10,10 @@ def new_input(): ...@@ -10,6 +10,10 @@ def new_input():
total.append(int(unit)) total.append(int(unit))
except: except:
print('你个大SB!!!!') print('你个大SB!!!!')
print(total)
return total return total
print(new_input()) def sun(x):
\ No newline at end of file a=0
for i in x:
a+=i
return a
print('SB一共消费'+str(sun(new_input()))元!+'快给钱!'
\ 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