I have a question about Python (3.3.2).
I have a list:
L = [['some'], ['lists'], ['here']]
I want to print these nested lists (each one on a new line) using the print() function:
print('The lists are:', for list in L: print(list, '\n'))
I know this is incorrect but I hope you get the idea. Could you please tell me if this is possible? If yes, how?
I know that I could do this:
for list in L:
print(list)
However, I'd like to know if there are other options as well.