#!/usr/bin/env python3; import Utils # Begin Main NUM_SQUARES = 5 squares = [] # Put the squares into the list for i in range(0, NUM_SQUARES) : squares.append(i * i) # Print out the squares from the list for i in range(0, len(squares)) : print("{0:d}^2 = {1:d}".format(i, squares[i])) print(Utils.listToString(squares))