Write a function that takes the lines from the stocks file


Problem

Write a function avg_month_close(lines, month) that takes the lines from the stocks file in a list and the abbreviation for a month (i.e. "Jan", "Feb") as parameters and returns the average value of the closing prices during that month for all the years in the file. Each line has a Date, Open, High, Low, and Close.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Write a function that takes the lines from the stocks file
Reference No:- TGS03234781

Expected delivery within 24 Hours