Commit e072a65e by BellCodeEditor

save project

parent 572416e1
Showing with 10 additions and 1 deletions
......@@ -11,5 +11,14 @@ def suan_zhang():
print('请输入整数')
else:
total.append(unit)
return(total)
print('-'*10)
return total
def sum(money):
count=0
for i in money:
count=count+i
return count
price=suan_zhang()
pay=sum(price)
print('You need to pay fucking'+str(pay))
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