문제 링크

정답 :

def solution(my_string, indices):
    answer = ''
    
    for i in range(len(my_string)):
        if i not in indices:
            answer += my_string[i]
    
    return answer