Python program to print even-length words in a string