Sobes.tech
Junior — Senior

Function that removes a character after a specified number of repetitions

livecode

Task condition

Implement a function that removes the character immediately after it appears a specified number of times in a row in the given string.