Doubt about question which requires prime numbers between m and n

test case 1 asks for prime numbers between 10 and 1 lakh and when i submit it says time exceed
my output is right
but output of testcase 1 is wrong as i got to know after downloading that

That test case can only be passed , if you are using languages such as c/c++/Java . This question was originally meant for algo++ course and can’t be completed in python since python is a slow language .

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.