This was asked in one of the challenges by rise hackathon.
Write a program to show the counts of repeated characters in a string. For example, the string "riiise haackkathhhon" would become "ri3se ha2ck2ath3on".
Here is my solution in Python.
Write a program to show the counts of repeated characters in a string. For example, the string "riiise haackkathhhon" would become "ri3se ha2ck2ath3on".
Here is my solution in Python.