Python Beginner needs help with for loop

ty.kresher at ty.kresher at
Sun Feb 10 08:52:15 CET 2008

I'm replacing all occurrences of the character in the string with '!',
which in turn is the new string, s2.

I'm also not allowed to use rfind or rindex or replace() because we
are supposed to be learning about for loops.

Thanks for the advices so far, I will try some more on my own.

More information about the Python-list mailing list