I actually think that is necessary here though: apparently there is a requirement to print various transformed versions of the input string after doing the various counting. In that sense, reading...
Type: Posts; User: laserlight
I actually think that is necessary here though: apparently there is a requirement to print various transformed versions of the input string after doing the various counting. In that sense, reading...
You're making it way too simplified though, but yeah, your code implements the core of my suggestion.
Yes. Not only the loop for name1, but also for name2. name should probably be renamed to text, name1 should probably be renamed fully_capitalized_text and name2 should probably be renamed to...
I am guessing that you actually mean that the output should be: My Friend Or My Friend
Anyway, at the moment you have code that goes over the string character by character to count them. My...