I want to generate all size 2 strings from a list of size 1 string

e.g featureList = gives

I wrote this code

```
def genC(featureList):
for i in range(0,len(featureList) - 1,1):
for k in range(1,len(featureList) - 1,1):
if i+k <= len(featureList)-1:
colocn = featureList[i] + featureList[i+k]
prunedK.append(colocn)
continue
continue
return prunedK
```

However this does not give me all the required strings.It doesnt give me that 2 length string for which i=0 and k=len(featureList) -1.Any ideas why this is happening(even though the if condition is satisfied)??