📅  最后修改于: 2022-03-11 14:46:39.907000             🧑  作者: Mango
number_list = [1, 2, 3]
max_value = max(number_list)
# Return the max value of the list
max_index = number_list.index(max_value)
# Find the index of the max value
print(max_index)