python一行代码实现对列表a中的偶数下标位置的元素进行加3后求和 lst = [1, 2, 3, 4, 5, 6, 7, 8] result = sum(map(lambda x: lst[x]+3, filter(lambda x: x % 2 == 0, range(len(lst))))) print(result) 图文并茂