11 Jun Aurora Wednesday 18:30 Python Practice 21.06.09.
Question: You are given a string . Suppose a character ‘a’ occurs consecutively n times in the string. Replace these consecutive occurrences of the character ‘a’ with (n, ‘a’) in the string. Input Format: A single line of input consisting of the string . Output Format: A single line of...