Question: python/ please include comments Question 2. Use the states.csv file for the next 4 questions. Write a function called Total Population that takes the 2D

python/ please include comments
python/ please include comments Question 2. Use the states.csv file for the
next 4 questions. Write a function called Total Population that takes the
2D list of states as an argument and returns the total the

Question 2. Use the states.csv file for the next 4 questions. Write a function called Total Population that takes the 2D list of states as an argument and returns the total the population for all states. Arguments: 2D List - states file Return: Integer Assume: Each record contains state name, state abbreviation, population, area - sq mi Question 3. Write a function called Large Population that takes the 2D list of states as an argument and returns a list of state names for states with a population greater than 1 million, sorted by population from highest population to lowest. Arguments: 2D List - states file Return: List California CA 39776830 163707 1 Texas TX 28704330 268601 2 Florida FL 21312211 65758 3 New York NY 19862512 54475 4 PA 12823989 Pennsylvania Illinois 46058 5 IL 12768320 57918 6 OH 11694664 44828 7 GA 10545138 59441 8 NC 53821 10390149 9991177 9 MI 96810 10 NJ 9032872 Ohio Georgia North Carolina Michigan New Jersey Virginia Washington Arizona Massachusetts Tennessee Indiana 8722 42769 11 VA 8525660 12 WA 7530552 13 AZ 71303 114006 10555 7123898 14 MA 6895917 6782564 TN 15 42146 IN 6699629 16 36420 69709 MO 6135888 17 MD 18 Missouri Maryland Wisconsin Colorado 6079602 5818049 WI 10 12407 65503 104100 38943 CO 5684203 20 MN 21 SC 22 AL 23 LA 5826162 5088916 4888949 4682509 4472265 41 99563 3040521 3583683 52423 51843 40411 Minnesota South Carolina Alabama Louisiana Kentucky Oregon Oklahoma 24 KY 25 56366 69900 OR OK 26 69903 28 Connecticut 29 lowa IA 5544 56276 30 Utah UT 84904 3588683 3160553 3159345 3056824 3020327 2982785 31 NV 32 110567 53182 AR 33 MS 48434 Nevada Arkansas Mississippi Kansas New Mexico Nebraska 34 KS 2918515 2090708 35 NM 36 NB 82282 121693 77358 24231 83574 1932549 1803077 37 38 Emwms we Huaww HI West Virginia Idaho Hawaii Now Hampshire Maine 39 10932 9351 NH 40 35387 ME 41 MT 147046 1545 42 43 1753860 1426393 1350575 1341582 1062830 1061712 971180 877790 755238 738058 703600 623000 573720 DE 44 SD ND Montana Rhode Island Delaware South Dakota North Dakota Alaska District of Columbia Vermont Wyoming 77121 70704 65645 68 2015 46 AK 48 VT WY 50 Saving completed

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!