+ 5
CHALLENGE
Capitalise every alternate letter in string eg: str=âhello worldâ output=âHeLlO WoRlDâ AlL ThE BeStđ AnY LaNgUaGe WeLcOmEd.......
9 Answers
+ 12
+ 11
Here's mine :
https://code.sololearn.com/cQtnAq7Yrd8S/?ref=app
+ 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
+ 6
+ 4
https://code.sololearn.com/c5TWRUvBFafv/?ref=app
+ 1
Just made it!
https://code.sololearn.com/c1jVI2Jpvva6/?ref=app
0
Here's my other try, now using Python
https://code.sololearn.com/c4Lz9wJ11xho/?ref=app