PHP Taskbook Level 2.5
Given a certain line, for example, like this:
'023m0df0dfg0'
Get an array of the positions of all zeros in this string.
Given a string:
'abcdefg'
Remove every third character from this line. In our case, we should get the following:
'abdeg'
Given some array, for example, like this:
[1, 2, 3, 4, 5, 6]
Divide the sum of the elements in even positions by the sum of the elements in odd positions.