code: def roundrobin(
      *iterables: tp.Iterable[tp.Any],
  ) -> tp.Iterator[tp.Any]:
      """roundrobin('ABC', 'D', 'EF') --> A D E B F C"""
      # Recipe credited to George Sakkis
      num_active = len(iterables)
      nexts = itertools.cycle(iter(it).__next__ for it in iterables)
      while num_active:
          try:
              for next_ in nexts:
                  yield next_()
          except StopIteration:
              # Remove the iterator we just exhausted from the cycle.
              num_active -= 1
              nexts = itertools.cycle(
                  itertools.islice(nexts, num_active)
              )
  
imports: import os
  import site
  import glob
  import ctypes
  import time
  import inspect
  import warnings
  import itertools
  import contextlib
  import collections
  import typing
  import numpy
  from nevergrad.common import sphere
label_desc: Use image node_id 5 for calling a global function with example usage: roundrobin() without return types