25.求出列表所有奇数并构造新列表 a=[1,2,3,4,5,6,7,8,9,10] res=[i for i in a if i%2==1] print(res) 结果为:[1, 3, 5, 7, 9] 26.用一行python代码写出1+2+3+10248 sum=sum([1,2,3,10248]) print(sum) 结果为:10254 方法2 from functools import reduce num1 = reduce(lambda x,y :x+y,[1,2,3,10248…