Given a string, capitalize the letters that occupy even indexes and odd indexes separately, and return as shown below. Index 0 will be considered even.
['AbCdEf', 'aBcDeF']. The input will be a lowercase string with no spaces.
Want to propose a challenge idea for a future post? Email email@example.com with your suggestions!