Question: Create a program, p.py, that takes two arguments. These arguments will correspond to the start and stop of a slice, respectively. It will slice the
Create a program, p.py, that takes two arguments. These arguments will correspond to the start and stop of a slice, respectively. It will slice the heights column in the heights.csv files. Then print off the average height, rounded to two decimals, of the selected presidents in the following form: The average height of presidents number x to y is z Where: x = start of the slice y = end of the slice z = calculated average
Please note the above question, is just a get a function that can run any indices when it is called. i hope this help
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
