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.
you'll get there
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 noswitch
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 valuethen i just need to go harder.
I really think this one should be marked up as a 7 kata. It's pretty tricky... until you see the solution of course.
i thinŠ» auther wanted us to notice pattern.
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 :) .
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 ?
Approved.
This comment is hidden because it contains spoiler information about the solution
thank you for the guidance
This comment is hidden because it contains spoiler information about the solution
Please use appropriate formatting when posting code. See https://docs.codewars.com/training/troubleshooting/#post-discourse.
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/.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution