• + 0 comments

    Py

    return max((h[ord(w)-97]) for w in word)*len(word)