• + 1 comment

    Nice, did not think of pre-sorting string to enable use of most_common.
    However you could omit the slice at the end by using .