🌈 搜索
📅  最后修改于: 2022-03-11 14:45:45.275000             🧑  作者: Mango
def find_even_index(nums): for i in range(len(arr)): if sum(arr[:i]) == sum(arr[i+1:]): return i return -1