def compute_bill(food): total = 0 for item in food: total += prices[item] return total
@lecrunch,you will have to use and present the code with the correct indentations....
re-edit your Post
Your code will then be in a pre-code stateand you will be able to make/present the proper indentations.
or even better use= http://discuss.codecademy.com/t/using-backticks-to-format-your-code/3697[extra's]https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet