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 firstname.lastname@example.org with your suggestions!