hey everybody

Hi everybody. It's me again. And I'm still stuck on the same code despite all your effort to help me. I'm sorry. But could someone please explain to me why this what I'm currently doing isn't working. I honestly don't understand. Here's the link again, but I made a few changes.

Here's the link: https://repl.it/@FARHEENPALAGIRI/Delete-every-third-character

You are viewing a single comment. View All
Answered by a5rocks (782) [earned 5 cycles]
View Answer
Nanashi (7)

@a5rocks Extremely close, just that the question specifies deletion of indices divisible by 3. Yours is the solution for deletion of every third character, though to be honest that sounds like a more likely problem.

input    0123456789abcdefghij
i%3==0    12 45 78 ab de gh j
i%3==2   01 34 67 9a cd fg ij