There is a set of lists, a, b, c,..., and I want to continuously add this set of lists to the same list, for example:
`a = ['a']
b = ['b']
c = ['c']
addall = [['a'], ['b'], ['c']]`
I only thought of using a for loop to do this. Is there any more pythonic method?
There is no need to pay too much attention to the form, just be concise and easy to understand
python2,3
python2,3, I think this is more natural!
python3
d = [i for i in (a,b,c)]