one of the test case icomes out to be wrong which is test case 1 idk which is test case 1
plz help
Related prime checker
@avverma11057
Your code does not cover the case when the input number is 1. When the input is less than or equal to 1, the output should be Not Prime .
but sir acc. to constraint
2<n<=10^9
Okay…but still change that and check if your code passes all test cases then
@avverma11057
One more minor mistake is that you have to print “Not Prime” but you are printing “Not prime”
Correct this also
