Python program to print even numbers in a list