Question: please code in python using the file given in the next picture for the information and the last picture as the skeleton code so please

 please code in python using the file given in the next

please code in python using the file given in the next picture for the information and the last picture as the skeleton code so please make it work in a program with the otherspicture for the information and the last picture as the skeleton codeso please make it work in a program with the others 3.

3. get_min_value_and_state(fp) string, float: This function takes as an input, fp: the file pointer for the data file. This function should return the minimum value in the file and the associated state. Read the file line-by-line, use slicing to extract the "state" and value. The algorithm for finding a minimal value is the begin with some large value, let's name it min value (since these are percentages any value over 100 will work). You will need a second variable, let's name it min state to record the associated state name. Examine the value in each line, if you find a value that is smaller than min value , you have found a better minimal value. Remember to update the min state. If you do that with every line, you will have found the minimal value after reading all lines. Return the minimal value and the associated state. Your program should ignore the lines where the values are "NA" (Use fp.seek (0) to rewind the file to the beginning as your first line of the function. Use a pair of fp.readline () statements to skip the title and header lines. There is only one minimal value so we do not have to consider ties.) This function does not print anything. a. Parameter: file pointer b. Returns two values: string, float T! Insert heading comments here.'' def open_file(): "''Insert docstring here.'' pass # insert your code here def get_us_value(fp): "''Insert docstring here.'' pass # insert your code here def get_min_value_and_state(fp): "''Insert docstring here.'' pass # insert your code here def get_max_value_and_state(fp): "''Insert docstring here.''' pass # insert your code here def display_herd_immunity(fp): ""'Insert docstring here.''' pass # insert your code here def write_herd_immunity(fp): "''Insert docstring here.'' pass # insert your code here def main(): "''Insert docstring here.'' pass # insert your code here if == "_main__": name main() MMR (measles, mumps, and rubella (German measles)) vaccination coverage among adolescents aged 13-17 in 2018 State Percent Alabama 92.8 Alaska 91.2 Arizona 88.3 Arkansas 92.0 California 91.1 Colorado Connecticut 95.9 Delaware District of Columbia Florida Georgia Hawaii Idaho Illinois Indiana Iowa Kansas Kentucky Louisiana Maine Maryland 94.1 Massachusetts 97.9 Michigan 91.0 Minnesota 97.1 Mississippi Missouri 89.4 Montana 92.3 Nebraska Nevada 89.0 New Hampshire New Jersey New Mexico 90.4 New York North Carolina North Dakota Ohio Oklahoma Oregon Pennsylvania Rhode Island South Carolina South Dakota Tennessee Texas Utah Vermont Virginia Washington West Virginia 86.5 Wisconsin 93.9 Wyoming 90.0 Guam 76.3 Puerto Rico U.S. Virgin Islands NA United States 91.9 wwoon in NN visini

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!