+ 3
CHALLENGE - Alternate Capitalization
You will be given a string, and your task is to write a function that will capitalize the letters that have even indexes and odd indexes separately, then return an array of both cases like the example bellow. EXAMPLE: capitalize("abcdef") = ['AbCdEf', 'aBcDeF']. Any language is welcome :D
4 Réponses
+ 6
my good trails in ruby....
https://code.sololearn.com/cIpw1IjPq4Ff/?ref=app
+ 5
https://code.sololearn.com/c5e4UKo9UZyg/?ref=app
+ 2
This is actually amazing Armen!