Commit f5ff2368 by BellCodeEditor

save project

parent c58e5c11
Showing with 6 additions and 2 deletions
...@@ -12,4 +12,9 @@ def a(): ...@@ -12,4 +12,9 @@ def a():
else: else:
total.append(unit) total.append(unit)
return total return total
print(a()) def c(list):
\ No newline at end of file price = 0
for i in list:
price += i
return price
print(c(a()))
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