大神们帮忙看看,怎么不对啊?
def square_of_SUM(L):
Y=[]
for x in L:
Y.append(x*x)
sum(Y)
return Y
print square_of_SUM([1,2,3,4,5])
大神们帮忙看看,怎么不对啊?
def square_of_SUM(L):
Y=[]
for x in L:
Y.append(x*x)
sum(Y)
return Y
print square_of_SUM([1,2,3,4,5])
大神们帮忙看看,怎么不对啊?
2017-02-24
举报