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

please include comments
python  please include comments python 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

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. I 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 newellspy . students.csv Delimiter: states.com 20. USD Caldornia CA 30776830 1 Texas 163707 2 I Rew FL 3 65758 NY 4 28704330 21312211 19662512 12823080 12768320 11694664 Florida New York Pennsylvania Illinois Ohio 54475 PA 5 IL 45058 57910 OH 44828 7 GA NC MI 10548138 10390149 59461 53821 8 9 9991177 98810 8722 10 NJ 11 VA 42700 12 WA 71303 114006 AZ 13 9032872 8525660 7530552 7123898 6895917 6782564 6600029 6135680 10555 MA Georgia North Carolina Michigan New Jersey Virginia Washington Arizona Massachusetts Tennessee Indiana Missouri Maryland Wisconsin Colorado Minnesota 14 42146 TN 15 IN 16 36420 69709 12407 MO 17 MD 65503 18 19 6079002 5918049 5884203 5628162 5088916 494949 104100 80943 CO 20 MN 3.2007 52423 21 SC 22 $% % 358 38 35 AL 23 LA South Carolina Alabama Louisiana Kentucky Oregon Oklahoma Connecticut 51543 40411 18388 6980 KY 24 25 OR 4882509 4472265 41.99553 3940521 2583683 Saving completed OK 26 CT 27 29 3588589 lowa 5544 IA 30 Utah UT 31 NV 32 33 3160553 3159345 3056824 3020327 2982785 2918515 AR MS 110567 53169 34 KS 35 Nevada Arkansas Mississippi Kansas New Mexico Nebraska West Virginia Idaho Hawai NM 36 NB 2090708 1932549 1803077 1753850 77358 24231 wy 37 ID 38 HI 10032 05 39 NH 40 ME MT 147040 41 1426393 1350575 1341582 1062330 1061712 971180 877790 755230 42 RI 43 New Hampshire Maine Montana Rhode Island Delaware South Dakota North Dakota Alaska DE 77123 70004 44 SD 45 ND 730088 AK 46 2015 DC 47 703608 623060 573720 VT 48 District of Columbia Vermont WY 49 Saving completed Wyoming 50

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!