Is there a way to separate list items with \n sequence?
here's the code:
month_names = [
['January', 'February', 'March'],
['April', 'May', 'June'],
['July', 'August', 'September'],
['October', 'November', 'December'],
]
print month_names
the problem is when I try to add \n or '\n' to the list or print like :
print month_names + '\n'
or
['January', 'February', 'March'], '\n',
syntax or type error raises and sometime it prints \n.
The Desired Output is :
'January', 'February', 'March'
'April', 'May', 'June'
'July', 'August', 'September'
'October', 'November', 'December'
and I want to keep it as a list so I can recall the 2nd list like:
'April', 'May', 'June'