In the first instance, you are passing a list of arguments to print, and each is printed in turn.
In the second, you are interpolating an array into a string, and then printing the result.
When an array in interpolated in a string, the values are separated by $", which defaults to .