Can't we simply do return b[no]?

At 2:33 as bhaiya did return b[no]==1?true:false;
can’t we simply do return b[no] it will also return 1 i.e true if its a prime and 0 i.e false when it’s not a prime, correct me if wrong

Yes, you can do that as well

I had a doubt that can we pause our course multiple time?

Drop a mail at [email protected]
Our support team will help you out with this matter.

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.