def square_of_sum(L): return sum([i * i for i in L])print square_of_sum([1, 2, 3, 4, 5])print square_of_sum([-5, 0, 5, 15, 25])55900 查看完整描述