Ad
  • Default User Avatar

    Ok, I will fix that

  • Custom User Avatar

    The question is not whether you created it from scratch or not, but rather: is there already a very similar kata created by someone else?

  • Custom User Avatar

    That is not what "duplicate" means. Duplicate means that the kata task is essentially the same as another kata, even if you created it from scratch. Its possible (and very likely, for easy kata) to accidentally create the same kind of kata which already exists, but we do not want the kata catalogue filled up with lots of kata which are all the same.

  • Default User Avatar

    thankyou

  • Default User Avatar

    thx for mentioning I worked on this from scratch

  • Default User Avatar

    Probably a duplicate of this kata

  • Custom User Avatar

    Typo: "opperations" should be "operations". Usually functions have verb names, so I suggest using perform_operation or similar.

    The test labels don't match the tests:

    @test.describe("Random Test Cases")
    def fixed_tests():
        @test.it('Random Tests')
        def basic_test_cases():
    

    "Random tests" should be "Fixed tests" or "Basic tests".

  • Custom User Avatar

    "Duplicate" does not mean that the kata is a copy of another kata. Duplicate means that this kata presents exactly the same problem, and even can be solved with exactly the same solution, as another, already existing kata. This kata is identical to Is a number prime? and Check for prime numbers
    . There is no need for a third kata which asks the same thing.

  • Default User Avatar

    We are so sorry for this but we have created this directly from scratch and there are many prime number Determinators our there on codewars. this issue has been read and resolved by our team

  • Default User Avatar

    regex to the rescue!

  • Default User Avatar

    cool! now I can stop googling, thanks!

  • Custom User Avatar

    can the regex also do the ''.join() ?

    nope. But you get the "equivalent" with my next fork

  • Custom User Avatar

    I have to see how to use lambda