Question: Python please!!! Read a CSV file called 'age_income.csy'. The first line of this file has the title of columns. The first column is the name
Read a CSV file called 'age_income.csy'. The first line of this file has the title of columns. The first column is the name of the person, the second column is the age and the third column shows the monthly income of the person. Calculate and print the average age and income of these people. Print the average age as an integer and the average income two digits after the decimal point. An example of the output of running this program is 'Average age- 46 years, Average monthly income = $4565.35
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
