Proposition: If n is the square of a prime number, then it has exactly 3 factors.
Converse: If n has exactly 3 factors, then it is the square of a prime number.
The proposition is true. Let n=p2 with p prime. The only prime factor of p2 is p, so every factor of p2 is 1, p or p2. These are three different numbers, so p2 has exactly 3 factors. For example, 25=52 has factors 1, 5, 25.
The converse is also true. Suppose n has exactly 3 factors. An odd number of factors means n is a perfect square (factors pair up as d and dn, and only a square has a factor paired with itself). So n=m2, and m=1 because 1 has only one factor.
The factors of n include 1, m and m2, which are already three. If m were not prime, it would have a factor d with 1<d<m, and d would also be a factor of n, giving a fourth factor. That is impossible, so m is a prime and n is the square of a prime.
Both the proposition and its converse are true.