Why does it say "food list"?


#1

<PLEASE USE THE FOLLOWING TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are stuck at.>

<In what way does your code behave incorrectly? Include ALL error messages.>

<What do you expect to happen instead?>

```python

Replace this line with your code.

<do not remove the three backticks above>

When it implies 'prices' dictionary? That is confusing.

#2

it doesn’t, the argument at function call should be a list of products the customer wants to buy, for example the shopping_list we defined earlier:

# function call
print compute_bill(shopping_list)

so food is a list


#3

Side note: If you have more questions in the future, it’s good to know how to format your code in the post so that it’s easier for others to offer their help. You can refer how to format code here.

For the right advice or code review, share the lesson name, the webpage link, the step you are struggling on, also the code you tried and sometimes the error message that pops up. :thinking:
All of this information is really helpful for you to mull over and it introduces us to the problem so we can point you in the right direction in a quickly :handshake: :tada:


#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.