I looked at the link, that note is simply a mistake in that case. It is correct if you line up a bunch of variables with commas directly after a print.
Another solution for the OP:
def square(x):
return x * x
print "Value Square"
for i in range(1, 6):
print str(i) + " " + str(square(i)) Now you have all strings and concatination works fine.
This would add a space for each comma used:
def square(x):
return x * x
print "Value Square"
for i in range(1, 6):
print i, " ", square(i)