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.
7999
list comprehension
No random tests
Random tests have very high likelihood of generating
false
already reported below
map() in python 2.x used to return a list, py3 it was changed so list(map(...)) must be used, see the solution replies for a better understanding
edit: basically it was solved in a previous py version
i've fixed! just lost 'let'! thanks anyway!
Your code is not correctly formated so it's hard to see what it does actually. Please see here how to format code: https://docs.codewars.com/references/markdown/#code-block
Maybe your variable is not properly declared. See here: https://www.w3schools.com/js/js_variables.asp
If you really know nothing about programming it'll be hard to teach you all. You need to search online with the error messages you get. The whole documentation of JavaScript is available online.
I advice you to also read this: https://docs.codewars.com/training/troubleshooting/
but i print return min after }
Hi. You return the result immediately, after parsing the first two elements. You must
return
only after the loop has been completed.This comment is hidden because it contains spoiler information about the solution
Have a look there: https://docs.codewars.com/getting-started/solving-kata
Use a spoiler flag when you post code or give clues to a solution.
Thanks :)
This comment is hidden because it contains spoiler information about the solution
lua translation
Loading more items...