Solution to Longest-Password by codility

22 Sep


Question Name: Longest-Password or LongestPassword

The solution could be more Pythonic with some additional space.

3 thoughts on “Solution to Longest-Password by codility

  1. The extra code on checking the last possible word could be avoided if you don’t mind an infinite loop wrapper ^_^

  2. All in one line? Zen of Python or Evil of Python? 🙂

  3. Also did Scala, take quite some time and didn’t find an one line solution…

Leave a Reply

Your email address will not be published. Required fields are marked *