Do you know if I can change of line in a list of lists?

tareas = []
otraTarea = [tarea,year,month,day, hour, minute, second, microsecond,str(cuando),cuando] `+'\n'+ []`(this is what i have tried)
I have tried to concatenate two lists, but the program returns a message, in which it's explained that I have to convert my list into a string format, and I donĀ“t want that.
I want something like:
   [tarea,year,month,day, hour, minute, second, microsecond,str(cuando),cuando]
    [tarea,year,month,day, hour, minute, second, microsecond,str(cuando),cuando]
    [tarea,year,month,day, hour, minute, second, microsecond,str(cuando),cuando]
normally it is shown like:
[[tarea,year,month,day, hour, minute, second, microsecond,str(cuando),cuando],[tarea,year,month,day, hour, minute, second, microsecond,str(cuando),cuando],[tarea,year,month,day, hour, minute, second, microsecond,str(cuando),cuando]]
Re: Lists: change of line 80 80

'\n'.join(str(element) for element in data)

Where data is iterable sequence you want to show one element per line.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.