Techouts interview question

asked about prime numbers code in python