GoGuardian Interview Question

Python checking if a number is prime or not