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]]

'\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 developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.