code: def get_start_end(word, skip_first=False, skip_last=False):
      """
      Get valid operation range of one word.
  
      :param str word: target word string
      :param bool skip_first: whether operate first char
      :param bool skip_last: whether operate last char
      :return: start index, last index
      """
  
      chars = list(word)
      start = int(skip_first)
      end = len(chars) - 1 - int(skip_last)
  
      return start, end
  
imports: import random
  import string
label_desc: Use image node_id 1 for calling a global function with example usage: get_start_end(word, skip_first, skip_last) and returns: start,  end