← Back to Strings
Question 419
Swap the Case
Swap the Case
Swap the case of every letter in "Hello World" — uppercase becomes lowercase and lowercase becomes uppercase. Non-letters stay the same. Print:
hELLO wORLDExpected Output:
hELLO wORLD
Topics:
Strings
Code Editor
1
Tab to indent · Ctrl+Enter to run · Ctrl+Space to expand shortcuts (cw, cr, fori)
Your Output
Run your code to see the output here...
Test Cases
Run your code to see test case results.