code: def delete_at_scopes(origin_list, scopes):
      r"""
      Delete items of origin_list of given scopes.
  
      :param list origin_list:
      :param list scopes: list of int/list/tuple/slice
          can be int indicate replace single item or their list like [1, 2, 3].
          can be list like (0,3) indicate replace items from 0 to 3(not included)
              or their list like [5,6]
          can be slice which would be convert to list or their list.
      :return list: new list
      """
  
      scopes = copy.deepcopy(scopes)
      assert isinstance(
          scopes, list
      ), f"Scopes should be `list`, not `{type(scopes)}`."
  
      # check whether scope and items length is compatible
      for i in range(len(scopes)):
          scopes[i] = normalize_scope(scopes[i])
  
      return _replace_at_scopes(
          origin_list, scopes, [None] * len(scopes)
      )
  
imports: import copy
  import random
  from .logger import logger
label_desc: Use image node_id 6 for calling a global function with example usage: delete_at_scopes(origin_list, scopes) and returns: _replace_at_scopes