Get Index of Minimum and Maximum value of a list in Python
I am working on a list with more than 1k elements stored into it.
For some further processing in the program, I need the index of the max and min values from the list.
Considering the current element count of the list, I don't want to write a loop, because the count is expected to grow in future.
Is there some direct way which can be used to retrieve the index of the maximum and minimum value element from the list.