New course! Every coder should learn Generative AI!
Try a free lesson0
Prime number
how it is solved
2 Answers
+ 1
To test if a number is prime you assume that is divisible only by 1 and itself.
please take a look to my code:
https://code.sololearn.com/c8gjJwr0o455/?ref=app
0
Where is the Q?