Im working on python and I need to write a program to see if a number N is prime. I also need it to be able to check whether the number is even, and then, check whether the number is divisible by an odd number between 3 and &radic&N.

Im not entirely sure what to do. I cant really figure this out, no matter how much I try.

Can anyone help me? Nothing seems to be working! Im getting so frustrated! AHHHH!!!

You should post your code with [CODE] tags and exact error messages. It would also be nice if you told what you did to solve the problem.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.