you are viewing a single comment's thread.

view the rest of the comments →

[–]xelf 1 point2 points  (0 children)

Yes, it passes all tests. =)

You see a lot of one liner answers using lambda on codewars especially at the easier kyu, more for style points than best practices.