Python program to check whether a number is Prime or not