def?square_of_sum(L):
????sum?=?0
????while?True:
????????if?x?not?in?L:
????????????break
????????else:
????????????sum?=?sum?+?x?*?x
print(square_of_sum([1,2,3,4,5]))
大佬幫看看為啥錯呢
慕碼人8594493
2018-09-27 11:24:57