Question: Population Statistics (Python) U.S. population statistics are commonly stored as .csv (comma separated values) files. Download 2013 population projections at census.gov and save as a
Population Statistics (Python)
U.S. population statistics are commonly stored as .csv (comma separated values) files. Download 2013 population projections at census.gov and save as a .csv file. Write a program that reads in the .csv file and prints out each state name along with its estimated population as of July 1, 2013.
Test code:
file = NST - EST2013 - 01.csv
pop_stats(file)
Sample run:
Alabama: 4,833,722
Alaska: 735,132
Arizona: 6,626,624
Arkansas: 2,959,373
California: 38,332,521
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
