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
慕设计2395807
始终有你
相关分类