+ 10
-CHALLENGE- Swap Case!
Make a program to swap case from input. Example #1; input = "Hello World!" output = "hELLO wORLD!" Example #2; input = "hELLo WoRLD" output = "HellO wOrld" Any question? Just reply :D Happy Coding!
15 Answers
+ 14
Python rules no doubt : Check my one-linear codeđ
https://code.sololearn.com/cFXLSXk25zjM/?ref=app
+ 13
https://code.sololearn.com/ccPHlASu4YVJ/?ref=app
+ 10
Here's my try, it requires two entries in Code Playground input dialog, the first is the string, the second is case conversion mode (1-6), to see usage example enter nothing.
https://code.sololearn.com/cM3qp41znqpZ/?ref=app
+ 10
https://code.sololearn.com/c0ozCy3mSRl3/?ref=app
+ 7
My Java solution:
https://code.sololearn.com/c0lQavuoUWV6/?ref=app
+ 6
https://code.sololearn.com/cpH5Q6W29kQF/?ref=app
+ 5
https://code.sololearn.com/c7pHIK0oxoDV/?ref=app
+ 4
Angular Solution:
https://code.sololearn.com/WVLc9Q9hJfeN/?ref=app
+ 3
Here is my code.
https://code.sololearn.com/c6b5aK76bs6a/?ref=app