Step-by-step solution for Swap Case
View the challenge

This challenge requires you to swap uppercase and lowercase characters in a string. For example, if the string is "Hello World" then your program should return "hELLO wORLD" We'll solve this by looping through the string checking each characters case using built-in functions.



You need to be a member to see the rest of this solution and code.