下面程序是用枚举法查找最大值的索引,横线处应该填写的是?( )
arr = 3, 7, 2, 9, 5maxIndex = 0for i in range(1, len(arr)): if ____________________: maxIndex = iprint(maxIndex)下面程序是用枚举法查找最大值的索引,横线处应该填写的是?( )
arr = 3, 7, 2, 9, 5maxIndex = 0for i in range(1, len(arr)): if ____________________: maxIndex = iprint(maxIndex)