With list of strings x:

```
x = ['foo', 'bar']

```

How can I do the following in one line?

```
y = []
for word in x:
    y.append([n for n in word])
print y

```

Resulting in:

```
[['f', 'o', 'o'], ['b', 'a', 'r']]

```