Adding a function to get the approximation of a list, in order to print it