Is this code will work for 0 and 1?

This code will show any output for 0 and 1?

this code will show prime for 0 & 1

but this is not the case
u should provide the specific o/p in case of corner case, bhaiya forgot to mention that in the video

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.