what data structure should I use to solve the following problem? A list - but how?
A meal delivery service has 3 types of meals at different price points and 3 customers. Currently there is a list for deliveries ordered with each index representing a customer (so Customer 1 ordered 2 meals). How would i calculate the total earnings for the types of meals that each customer ordered?
meal_types = [happy meal, kids meal, lunch combo]
deliveries_ordered = [[2,1,3],[3,1,2],[1,1,3]]
meal_price = [1.99, 2.99, 3.99]