def delete(old_string, starting_index, ending_index):
    """ Removes portion from old_string from starting_index to ending_index"""
    # in log, index starts at 1
    starting_index -= 1
    return old_string[:starting_index] + old_string[ending_index:]