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.
Is there an in-built dictionary or module that I can access for this? I tried looking for one, but I can't seem to find the page...
Or do we have to type out the entire thing from scratch? X(
No, you are miles away from an efficient approach. You need to figure out another way to count primes.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Got it
Are the test cases always going to be primes, or do I have to check for that too?
This comment is hidden because it contains spoiler information about the solution
The part where the function is called without an argument, like you need to do here. Just scroll a little bit and you'll find it.
Uh... Which part?
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
I honestly have no idea how to do that. I tried a loop, but...
Now you have to work out, how you can make the code work if no argument is passed to it.
And.... now it gives me a TypeError, like last time.
How?
Loading more items...