a common exercise in programming textbooks is constructing a table of integers and squares of integers there are many ways to do this in matbemation one way is to use the do function, the print function, and a string of spaces to separate the columns in the table