Ad
  • Default User Avatar

    That's not how u write list comprehensions tho. Maybe https://www.programiz.com/python-programming/list-comprehension can help u out~~

  • Default User Avatar

    ah yes, I see what you mean! thanks

  • Default User Avatar

    I think it is talking about @Pink Ghost's solution.

  • Default User Avatar

    Your arrays are so big that Python has no more ressources to answer.

    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...

  • Default User Avatar

    Your arrays are so big that Python has no more ressources to answer.

  • Custom User Avatar

    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.

  • Default User Avatar

    I read someone say "You get that message when you attempt to run the example tests when there are none.

    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 !

  • Custom User Avatar

    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)

  • Default User Avatar

    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.

  • Custom User Avatar

    "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.

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    See the input for those tests, they're negative numbers, your code is failing with them.

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    Not a kata issue, read the instructions more carefully:

    Note: If the number is a multiple of both 3 and 5, only count it once.

    It's a problem with your code, use Question for things like this.

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Loading more items...