Amazon interview question

Create a program to find whether a number is prime.

Interview Answer

Anonymous

14 Aug 2023

I answered in Python by checking the modulus of the number