Prime generator 1

please tell me what is the problem with my code, it works fine , but produces a time limit error in your ide

Hello Taresh,
Your code is correct. It gives time limit error when running in Python because the problem was actually meant for C/C++. You can try them with these languages, otherwise you can move on with the course because your Python code is correct.

how do i get points for this problem then ?