Just add one line in python


#1
```return [[A[i]]+x for i in range(len(A)) for x in self.permute(A[:i] + A[i+1:])]if A else [[]]```