C
cesco
Hi,
is there a one-liner to accomplish the following task?
generate the list of lists
l = [['string1'], ['string1', 'string2'], ['string1', 'string2',
'string3']]
Any help would be appreciated.
Thanks
Francesco
is there a one-liner to accomplish the following task?
l = ['string1', 'string2', 'string3']From the list
generate the list of lists
l = [['string1'], ['string1', 'string2'], ['string1', 'string2',
'string3']]
Any help would be appreciated.
Thanks
Francesco