This comment is hidden because it contains spoiler information about the solution
Probably a 6
What kata rank would you give this one (for Python)?
Because originally it is a Ruby kata, and it's pretty much using a built-in. The kata's rank is shared amongst all languages.
Why is this an 8 kyu kata? My head hurts only reading this solution.
Yeah, I think I can maybe be a little more liberal with my one-liners.
I use them so long as they are easily understandable (like this one)
Nice one liner. Just currious, do people use if statements like this in production? Thanks!
Loading collection data...
This comment is hidden because it contains spoiler information about the solution
Probably a 6
What kata rank would you give this one (for Python)?
Because originally it is a Ruby kata, and it's pretty much using a built-in. The kata's rank is shared amongst all languages.
Why is this an 8 kyu kata? My head hurts only reading this solution.
Yeah, I think I can maybe be a little more liberal with my one-liners.
I use them so long as they are easily understandable (like this one)
Nice one liner. Just currious, do people use if statements like this in production? Thanks!