Facing Problem while appending elements In a list

The output is the same. It’s just IEx deciding to put the results on a new line. Probably because the result is too long to put on one line.