A Python program to accept a number from the keyboard and test whether it is even or odd.