1numbers = [5, 4, 7, 3, 9, 1, 2]
2biggest_number = max(numbers)
3print(numbers.index(biggest_number))
1# any list
2a = [1, 7, 3, 12, 5]
3
4# index of minimum element
5# if more than 1 minimum,
6# first index is returned
7min_index = a.index(min(a))
8
9# index of maximum element
10max_index = a.index(max(a))
1number_list = [1, 2, 3]
2max_value = max(number_list)
3# Return the max value of the list
4max_index = number_list.index(max_value)
5# Find the index of the max value
6print(max_index)