Ad
  • Default User Avatar

    you'll get there

  • Default User Avatar

    a suggestion is a concrete proposition to improve a kata.

    regarding your message: the original point of this kata was to correct a very common programming mistake with the switch statement. As usual with bugfix katas, the Python translation completely missed the point of the kata, because Python has no switch and because scopes in Python work differently than in most other languages. As a result the Python version does not make much sense, and has little teaching value

  • Custom User Avatar

    then i just need to go harder.

  • Custom User Avatar

    I really think this one should be marked up as a 7 kata. It's pretty tricky... until you see the solution of course.

  • Default User Avatar

    i thinŠ» auther wanted us to notice pattern.

  • Custom User Avatar

    i know i'm a beginner here and this kata made me aware of the solution that i skipped in the dictionary lesson and stuff, i had to change the given code to make it work, but i have a general note. i think the programmers that aren't considered beginners should stop flexing :), if you want to show us your coding skills make it readable for us beginners so we can learn from it, else you're just flexing, and probably should flex on another kata that actually require a skilled programmer :) .

  • Custom User Avatar

    guys!, i know i'm a beginner but i just want to ask if this kata is hard for beginners or it's me lacking the brain to finish it ?

  • Default User Avatar

    Approved.

  • Custom User Avatar

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

  • Custom User Avatar

    thank you for the guidance

  • Custom User Avatar

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

  • Custom User Avatar

    Please use appropriate formatting when posting code. See https://docs.codewars.com/training/troubleshooting/#post-discourse.

    why my code works but it shows me i passed two tests and failed one

    Your code doesn't work, it computes the square of each number incorrectly. You also don't need to call your function yourself as the tests are responsible for that.

    Seeing you're new to codewars, I recommend reading this article: https://docs.codewars.com/training/training-example/.

  • Custom User Avatar

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

  • Custom User Avatar

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