code: def split(src, sep=None, maxsplit=None):
      """Splits an iterable based on a separator. Like :meth:`str.split`,
      but for all iterables. Returns a list of lists.
      >>> split(['hi', 'hello', None, None, 'sup', None, 'soap', None])
      [['hi', 'hello'], ['sup'], ['soap']]
  
      See :func:`split_iter` docs for more info.
      """
      return list(split_iter(src, sep, maxsplit))
  
imports: import os
  import math
  import time
  import codecs
  import random
  import socket
  import hashlib
  import itertools
  from collections import Mapping, Sequence, Set, ItemsView
label_desc: Use image node_id 4 for calling a global function with example usage: split(src, sep, maxsplit) and returns: list