阅读背景:

python基础之取列表中最大值的索引值

来源:互联网 
'''
取列表中最大值的索引值
www.pythontutor.com
'''

list_group = [5,90,59,132,54]
max_index = 0
list_index = 0
for num in list_group:
    if num > list_group[max_index]:
        max_index = list_index
    list_index += 1
print(max_index)'''
取列表中最大值的索引值
www.pythontutor.com
'''

list_gr



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: