Compress repeated letters
Write compress(text) that replaces each run of the same character with
the character followed by the run length, leaving single characters alone.
compress("aaabccdddd") -> "a3bc2d4"
compress("abc") -> "abc"
compress("") -> ""
def compress(text):
...