Question: Write a function called find_max_index that takes a list of floating point numbers and determines the index, or indicies, of the maximum value in the
Write a function called find_max_index that takes a list of floating point numbers and determines the index, or indicies, of the maximum value in the list. Write just the function, and have it return an integer list of a single index, or a list of indices in the event the maximum occurs more than once in the input list. The return list must be ordered least to greatest.
(In Python)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
