You are designing a shopping cart for ABC Stores. The boss has asked you to design a cart which contains the items with the respective quantity. He has also asked you to maintain the order in which the items were added.
Given below is a sample list items
of items that a user is adding to his cart. Add these items into a dictionary. If the item already exists increase its quantity. Use an OrderedDict
for the solution. Print the dictionary once done.