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.
OTOH, You need not to go from
1
up ton
. You should find an optimal stopping point / upper-boundary where you can obtain all the divisors of n.This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
You don't need all of them.
To be executed a function needs to be called. And however
prime_list
doesn't exist for for your main function, it is enclosed inside your sieve function. You should work on easier katas in order to get familiar with some concept of basic Python programming. This is too much debugging at the time.This code throws an error:
Still not.
Those are not the correct tags to format code, please follow https://docs.codewars.com/references/markdown/#code-block
And always use a spoiler flag when you post code.
Please use markdown tags for format your code or it's unusable, see there: https://docs.codewars.com/training/troubleshooting/#post-discourse
You posted twice the same message, can you remove the one above please?