+ 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!

28th Nov 2017, 3:19 PM
Momo Belia
Momo Belia - avatar
15 Respostas
+ 14
Python rules no doubt : Check my one-linear code😉 https://code.sololearn.com/cFXLSXk25zjM/?ref=app
28th Nov 2017, 6:35 PM
Justine Ogaraku
Justine Ogaraku - avatar
+ 13
https://code.sololearn.com/ccPHlASu4YVJ/?ref=app
28th Nov 2017, 4:18 PM
KĂ€zĂź MrĂźdĂčl HĂžssÀßn
KĂ€zĂź MrĂźdĂčl HĂžssÀßn - avatar
28th Nov 2017, 3:43 PM
Podretyz
Podretyz - avatar
+ 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
29th Nov 2017, 9:14 AM
Ipang
+ 10
https://code.sololearn.com/c0ozCy3mSRl3/?ref=app
3rd Dec 2017, 3:19 PM
LukArToDo
LukArToDo - avatar
28th Nov 2017, 11:55 PM
Boris Batinkov
Boris Batinkov - avatar
+ 6
https://code.sololearn.com/cpH5Q6W29kQF/?ref=app
30th Nov 2017, 11:48 AM
bedawang
bedawang - avatar
30th Nov 2017, 1:48 AM
Cat🐈
Cat🐈 - avatar
+ 5
https://code.sololearn.com/c7pHIK0oxoDV/?ref=app
7th Dec 2017, 6:39 AM
...
1st Dec 2017, 8:22 AM
Pranta Saha
Pranta Saha - avatar
9th Apr 2018, 9:42 PM
sneeze
sneeze - avatar