7 kyu

When we are equal, we are identical

Description
Loading description...
Strings
Fundamentals
View
AllIssues2Questions1Suggestions1Show Resolved
  • Please sign in or sign up to leave a comment.
  • mohdmujtabaa Avatar

    I understand the concept of equality and identify. Can someone please explain, with what the input provided to the function should be compared. Or any other input that can help to understand the ask in this Kata. Appreciate the input.

  • Wisdou Avatar

    Why the rating of this Kata is so low? It is pretty good and requires solid knowledge about Python types. I want to thank the author of this magnificent kata!

  • nevepura Avatar

    I had to do research for this. Even knowing the concept, the solution was hard to find.

  • Chris_Rands Avatar

    As the Kata author, to reply to several comments. I suggested 6 kyu for this Kata based on the concept, but when it was approved the rating was set at 7 kyu by the approver. I cannot edit the rank. Follow-up with the approver or a moderator if you wish

  • JustAn0therDev Avatar

    Although I really like this Kata, its not that simple. The solution looks simple but the required knowledge to get to it is not 7 kyu.

  • RealKenshiro Avatar

    This is not a basic concept...

  • Awesome A.D. Avatar

    This comment has been hidden.

    • Chris_Rands Avatar

      What would you suggest? I recomended 6ku, which is also the Average Assessed Rank

    • user9396321 Avatar

      This comment has been hidden.

    • Awesome A.D. Avatar

      as jimpjorps mentioned, this is very hard to properly classify. What I can say without a doubt though is that this is not a white kata. The underlying language feature this kata relies on is something someone programming in Python (or other languages) for a decade might never know about, and it wouldn't make a difference in their day-to-day job. It certainly isn't something a novice should/will be aware of. Anyway, the point is moot as you can't rerank a kata once it's approved. I just fear it might demoralize some newer users who expect something that's at least researchable, but without knowing about the technical term for what's going on here, there's very little hope of success.

  • FArekkusu Avatar

    Tests should explicitly import the solution and testing framework.

  • FArekkusu Avatar

    New test framework should be used.

    • Chris_Rands Avatar

      I don't understand why this is failing in the new testing framework?

      @test.describe("Basic tests")
      
      @test.it("Example Test")
      def example_test():
          test.assert_equals("abc" is make_identical("abcd"[:-1]), True)
      

      Traceback:

      Traceback (most recent call last):
        File "/workspace/default/src/codewars-test/codewars_test/test_framework.py", line 111, in wrapper
          func()
      TypeError: 'NoneType' object is not callable
      

      I it because of the SyntaxWarning raised? How to do this? Thanks

    • FArekkusu Avatar

      Have you read the documentation? There's a very clear example available there.

    • Chris_Rands Avatar

      Done thanks!

      Issue marked resolved by Chris_Rands 4 years ago