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.
Please use appropriate markdown formatting when posting code. See https://docs.codewars.com/training/troubleshooting#post-discourse.
No, your function doesn't return the correct answer. See https://docs.codewars.com/training/troubleshooting#.print-vs-return and https://docs.codewars.com/training/training-example#writing-a-solution.
See https://docs.codewars.com/training/troubleshooting#.print-vs-return.
Not a kata suggestion. See https://docs.codewars.com/training/troubleshooting#post-discourse.
The
Issue
label is for provable kata issues. Please use theQuestion
label when asking for help. See https://docs.codewars.com/training/troubleshooting#post-discourse.If we define "doesn't work" as throws the error
RangeError: Maximum call stack size exceeded
, then your code doesn't work because it recursively callsletsGoo
infinitely, but that isn't the only thing wrong with your code. This article might help with some of the things you're currently doing wrong: https://docs.codewars.com/training/training-example.No.
Thanks @o2001!
Thanks for your clarification!
Curious why you spread the input since it's a string and you could just split it right?
Or, like me, you wherent sure the input is a string or array (question wasn't too clear on that)?
Me too🤣🤣🤣🤣
No, you're wrong. Not a kata issue.
See https://www.codewars.com/kata/5601409514fc93442500010b/discuss/#6508d1141143df1f2e4d7458.
Not a kata suggestion. See https://docs.codewars.com/training/troubleshooting#post-discourse.
Ranks can't be changed.
The
??
operator is not supported by the node version you're training in. Make sure you have node 18 selected or, if node 18 is not available, rewrite your code without using??
.The difficulty difference makes it not a duplicate considering that this is an 8 kyu ranked kata. Also, keep in mind there are other languages besides Python.
Loading more items...