The
print function is declared to take a variable number of objects to print. In your first example, you are concatenating a bunch of strings into a single
string and passing that to print. In the second example, you are passing 3 separate string objects and print concatenates them.
See here for more on variable arguments to functions.