My solution to Dr Jerry Query

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.


Popular posts from this blog

Doing it Right : Building on Organic Ideas

Building a chatbot using TF-IDF