Can any one check what is wrong in my code .

from itertools import permutations
class Solution:
c=0
def threeSumMulti(self, a: List[int], target: int) -> int:
for i in range(0,len(a)):
for j in range(i+1,len(a)):
for k in range(j+1,len(a)):
if(i<j<k and (a[i]+a[j]+a[k]==target)):
Solution.c+=1
print(target)
return Solution.c

Comments (1)