code: def find_duplicate(list):
      """Find duplication in a list, return a list of duplicated elements"""
      dup = []
      for i in range(len(list)):
          if list[i] in list[i + 1 :]:
              if list[i] not in dup:
                  dup.append(list[i])
      return dup
  
imports: from __future__ import division, absolute_import, print_function
  import sys
  import os
  import warnings
  from .None import numeric
  from .None import numerictypes
  from numpy.compat import isfileobj, bytes, long, unicode, os_fspath
  from numpy.core.overrides import set_module
  from .arrayprint import get_printoptions
label_desc: Use image node_id 1 for calling a global function with example usage: find_duplicate(list) and returns: dup