Hi,
I am getting below error,i could not figure it out.
Thank you
As you probably see, you’re not replacing letters, but adding them (2 letters → 4 letters) and for some reason your every “word” ends with “r”.
In other words, first find out why your every word ends with “r”, then investigate why your set contains “words” with more letters than it should.
Cheers