문제 링크

정답 :

def solution(myString):

    return [len(i) for i in myString.split('x')]