Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Python please!!!
image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Programming The Perl DBI Database Programming With Perl

Authors: Tim Bunce, Alligator Descartes

1st Edition

1565926994, 978-1565926998

More Books

Students also viewed these Databases questions

Question

What are the Five Phases of SDLC? Explain each briefly.

Answered: 1 week ago

Question

How can Change Control Procedures manage Project Creep?

Answered: 1 week ago