Hi all. I have written a code for the ex6, I know there is a bug and I know why and where, but I haven't been able to fix it using the same logic (like without using a for loop over each element of string). So if anyone is interested in finding a way and has found it then please share.