C2_W1_Assignment_Exercise 6 - replace_letter

Hi,
I am getting below error,i could not figure it out.



Thank you

Hi @vemula_suman

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

Thank you very much
got solution.

1 Like