How to make list each character of list? like this:
li = ['A','B','C']
into :
li = [['A'],['B'],['C']]
See "list comprehension".
It is simply,
[[i] for i in ['A', 'B', 'C']]
or more generally,
[f(x) for x in list_name]