Conditional Operator Program In Python For Prime