The error that I receive is "compute_bill(['apple']) returned 7.5 instead of 2". I'm not exactly sure how this even happens (maybe i'm just over thinking it).

I expected that when I replaced the original total variable in the new function compute_bill that 0+(whatever price here) would occur. Example: you take banana which has a price of $4 and that would be added to the original total of 0 (0+4). Then you given the new total variable.

Been stuck on this for probably an hour. How do you fix this?

```
shopping_list = ["banana", "orange", "apple"]
stock = {
"banana": 6,
"apple": 0,
"orange": 32,
"pear": 15
}
prices = {
"banana": 4,
"apple": 2,
"orange": 1.5,
"pear": 3
}
def compute_bill(item):
total = 0
for item in shopping_list:
total = total + prices[item]
return total
```