为什么我这么运行是错误的
def square_of_sum(L):
return sum(L[]*L[])
print square_of_sum([1, 2, 3, 4, 5])
print square_of_sum([-5, 0, 5, 15, 25])
def square_of_sum(L):
return sum(L[]*L[])
print square_of_sum([1, 2, 3, 4, 5])
print square_of_sum([-5, 0, 5, 15, 25])
2019-05-18
举报