+ 5

CHALLENGE

Capitalise every alternate letter in string eg: str=‘hello world’ output=‘HeLlO WoRlD’ AlL ThE BeSt😊 AnY LaNgUaGe WeLcOmEd.......

2nd Dec 2017, 6:33 PM
Shivam Kadam
Shivam Kadam - avatar
9 Answers
2nd Dec 2017, 9:29 PM
LukArToDo
LukArToDo - avatar
2nd Dec 2017, 9:07 PM
David Akhihiero
David Akhihiero - avatar
3rd Dec 2017, 6:00 AM
Justine Ogaraku
Justine Ogaraku - avatar
+ 7
Here's my try, it needs two inputs, the string, and a conversion mode. To alternate the letter case enter 6 for the mode, for example in Code Playground input dialog: sololearn, everyone can code 6 https://code.sololearn.com/cM3qp41znqpZ/?ref=app
2nd Dec 2017, 7:08 PM
Ipang
2nd Dec 2017, 7:52 PM
Louis
Louis - avatar
+ 4
https://code.sololearn.com/c5TWRUvBFafv/?ref=app
4th Dec 2017, 8:42 AM
...
2nd Dec 2017, 10:57 PM
Edgeton
Edgeton - avatar
8th Dec 2017, 12:10 AM
Jonathan Álex
Jonathan Álex - avatar
9th Dec 2017, 12:20 PM
Jonathan Álex
Jonathan Álex - avatar