19, Mar 2021
Write a program that reports consumer price index and its average for any year selected by the user. Additionally, the user will be able to choose the month of the year they want to display. The program will have to use list comprehension for transforming the list of the months into the list of the corresponding CPI values.

Write a program that reports consumer price index and its average for any year selected by the user. Additionally, the user will be able to choose the month of the year they want to display. The program will have to use list comprehension for transforming the list of the months into the list of the corresponding CPI values.