I want to remove character from string seq_in = 'KPKPAJDSKGRPRRKAPPP' at specific indices in the list ind = [0, 1, 2, 3, 8, 10, 11, 12, 13, 14, 16, 17, 18]. The result should be 'AJDSGA'. I tried remove() the string by looping the ind list, but each character's index was shifted.
How to remove many characters at index from the list without loop?