```
f(Y,Yscore)=−1∗1nΣforeachY,Yscorepair(Ylog10(Yscore)+(1−Y)log10(1−Yscore))
logLoss = sum([int(A[i])*log(float(A[j]))+ (1-int(A[i]))*log(1-float(A[j])) for i in range(len(A)) for j in range(len(A))])
logLoss = logLoss * -1/(len(A))
```

I am getting logLoss using the formula given above f(Y,Yscore). But when I run the above statement, I get the error :

TypeError: int() argument must be a string, a bytes-like object or a number, not ‘list’

is there a way to fix it.