Hello and welcome to the challenge!
Write the function which takes the string
s and the separator
sep, and next returns the string created by replacing each character in
s with a number of times that character occured in
s and separating the numbers with the string
translate('abcc','-') -> '1-1-2-2'
Have fun and good luck! :)