Problem statement appears incorrect in control_flow.rb

Screenshot%20from%202018-07-05%2018-19-59

The example seems to contradict the problem statement.

The solution/rspec logic seems to be in sync with the example

I do not see anything contradictory about the example. All the odd number characters with 1 as the first character, are lowercase and all the even number characters are uppercase.

It’s talking in human terms so it’s not using zero-based indexing. You’ll have to adjust for that in your code.