total = 0
for item in food:
total = total + prices[item]
What is it you are struggling with? What do and don’t you understand? By given us this information we can much better reply.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.