I am getting confused with the output of this function:
def doPrint():
print "Hello",
return "World"
print "Goodbye",
return "World"
print doPrint()
The output is "Hello World". So, can someone explain why it didn't print out "Goodbye World"?