What's the output format type? HTML? Terminal? For HTML, your best bet are tables or lists. For the terminal, you might try using
join or using nested
for loops to print out "The Matrix" to STDOUT. Since I can't give any info on the output you want, I cannot be more specific. If you want pretty output to the terminal,
Curses is your best bet.
Originally posted as a Categorized Answer.