Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
ok, I got it.
I don't understand first two lines of isPrime function:
if n <= 3:
return n >= 2
Dear colleagues, can you help me understand those?
Great code. I am trying to learn and I have a question: why you have added %1 === 0? Wouldn't it work without this part of code?