Write the program in Python
Ms. Binny went to the automated Bins Supermarket where, on entering the supermarket, one views the produce on a screen and selects the bin number of the bin containing the desired produce and then enters the quantity of the produce desired. After selecting everything that is needed, the shopper proceeds to the check out where the bill and the selected bagged produce are ready.
Write a Python program that
given the two lists as shown below, produce and prices, where the price of the produce is listed at the
corresponding index to the produce bin/name (for example, the bag of carrots is listed at index 0 in the produce list and the price of the bag of carrots is listed at index 0 in the prices list)
shows the shopper their options and then obtains from the shopper the bin numbers and the quantities of the produce they wish to purchase (both the bin number and quantity are integers),
computes the cost of the produce bought, appends the three pieces of information in a new list called shoppingCart which holds the bin number followed by the quantity and then the cost of the produce for each item purchased, and
creates and prints the bill as shown in the output, including the total
Sample input/output is as follows:
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here