Junior — Senior
Determining the character with the longest consecutive length
livecode
Task condition
It is necessary to determine the character that appears consecutively the maximum number of times in the given string.
def longest_streak_char():
pass
Example: "bbccccccbbdd" → c