13/13 a question about increasing quantity of a item in list


Is it possible legitemately increase bananas in shopping_list to 3 without typing "banana" 3 times in a list?

instead of
shopping_list = ["banana", "orange", "apple"]
shopping_list = [(3* "banana"), "orange", "apple"] => which is actually "bananabananabanana"


You would need a dictionary or two matched lists to accomplish that.


prices = {'banana': 0.75, 'apple': 0.50}
shopping_list = {'banana': 5, 'apple': 2}


Would this work both ways?