Commit 67ed5782 by BellCodeEditor

save project

parent 80e625d2
Showing with 6 additions and 6 deletions
...@@ -15,13 +15,13 @@ def A_one(): ...@@ -15,13 +15,13 @@ def A_one():
return total return total
def B_one(money): def sum(money):
B_two = 0 B_two = 0
for i in money: for i in money:
B_two = +i B_two = + i
return B_two return B_two
B_three = A_one() a = A_one()
B_four = B_one(B_three) pay = sum(a)
print("您一共消费了"+ str(B_four) + "亿元!不给钱等着让你家人收尸吧。") print("您一共消费了"+ str(pay) + "元!")
\ 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