A day at the supermarket


Write your code below!

def compute_bill(food):
for eachfood in food:
return total

Oops, try again. compute_bill(['banana', 'apple', 'orange', 'pear']) returned 4 instead of 10.5
That is the error i get.Kindly help me out bro



I do not take questions privately.



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