Doubt in my code

I have written a code for string compression. But now I am stuck at a point that how do I print count of characters in the resultant string. Check my code by giving aaabbccds as input and see the output. Tell me how can I do that ?

Hello @yashsharma4304 there is no code in the link.

Check again because it’s showing the code in the link

yes got it now please wait

1 Like

you can do in this way.

1 Like