number = input("> ") dif = number % 2 if dif != 0 : print number, "Is a prime" if dif == 0 : print number, "is not a prime"