Write a function that returns true if a number is "almost prime" (i.e., has exactly two distinct prime factors)?
Login to Submit
Input: 9 Output: false Input: 7 Output: false Input: 4 Output: false