A simple way to format table data when printing to the console