My question might not be clear, but I'm trying to get all possible 10 char length combinations of a string. Here is my code:

```
def printPwd(set, k):
    n = len(set)
    pwdRec(set,"", n, k)

def pwdRec(set, prefix, n, k):
    if k==0:
        print(prefix)
        return

    for i in range(n):
        nPrefix = prefix + set[i]
        nk = k-1
        pwdRec(set, nPrefix, n, nk)

chars = list("abcdefghijklmno.@-_&")
length = 10

printPwd(chars, length)

```

It outputs something like this:

```
aaaaabcde@
aaaaabcde-
aaaaabcde_
aaaaabcdfg
...

```

I'm getting five "a" and I don't know how to fix it