Decode run-length
Your task
A telemetry beacon sends status strings compressed as letter-count pairs: each lowercase letter is followed by a single digit from 1 to 9 saying how many times it repeats. Decode the transmission back to its expanded form. The input's length is always even and well-formed, and it may be empty. For example, 'a3b1' expands to 'aaab'.
Examples
rle_decode(encoded: str) -> strExample 1
Input
rle_decode("a3b1")Output
"aaab"