为什么输出结果是空白?
请# Enter a code
L=[1,2,3,4,5]
def square_of_sum(L):
sum=0
for x in L:
sum=sum+x*x
return sum
print(square_of_sum(L))输入问题内容...
请# Enter a code
L=[1,2,3,4,5]
def square_of_sum(L):
sum=0
for x in L:
sum=sum+x*x
return sum
print(square_of_sum(L))输入问题内容...
2022-11-08
举报