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.
That's not how u write list comprehensions tho. Maybe https://www.programiz.com/python-programming/list-comprehension can help u out~~
ah yes, I see what you mean! thanks
I think it is talking about @Pink Ghost's solution.
not sure if I understand what you're saying, but if that is the case, I would like to know what programming language more than 2000 coders used to solve the python translation...
Your arrays are so big that Python has no more ressources to answer.
I'll take a look at the Sieve problem.
To be clear, the reason I downvoted was because of how fast you decided to clear this issue, for the mere good status of your kata. I will not upvote a response that belittles my problem with the "other people have succeeded with python so you dont matter" argument.
Be sure that there are tests to be run.
If there were problems in the Python version it would have been impossible that more than 2000 people passed it; it is for that reason that I considered the issue as resolved all the more that I tried several Python solutions without problem.
Maybe you should look at your code... I think the Sieve is too much for that kata; see the array you need when n is big...
PS1: (https://github.com/Codewars/codewars.com/issues/879) -> seems to be a corporate problem. It is not the case for your solution since I get the same result as you when I try it.
PS2: Downvoting my post because you are not happy with it doesn't seem to be from a "Sorbonne University" student. I could downvote yours because I waste a lot of time to try your solution as well as other ones.
Bonne journée et bon courage !
I don't think we should just mark the issue as resolved so fast. Yes, I am using Python. As I saw in the comments, some people also had unlucky unique problems which you have resolved.
My code runs for 8065ms to be precise, and any number input seems to work in Jupyter. And yet I still get this error for some reason...
I read someone say "You get that message when you attempt to run the example tests when there are none.
If there are no tests to run nothing happens and no data is written to STDOUT or STDERR." (https://github.com/Codewars/codewars.com/issues/879)
Which language? I suppose it is Python. Not a kata problem. 2110 people passed the Python kata. I tried a few solution and they worked fine.
"Response received but no data was written to STDOUT or STDERR." when I 'Attempt'.
Otherwise my code works, 'Run Sample Tests' takes around 1 second.
This comment is hidden because it contains spoiler information about the solution
See the input for those tests, they're negative numbers, your code is failing with them.
This comment is hidden because it contains spoiler information about the solution
Not a kata issue, read the instructions more carefully:
It's a problem with your code, use Question for things like this.
This comment is hidden because it contains spoiler information about the solution
Loading more items...