orangecontrib.tomwer.widgets.other.PythonScriptOW.interleave#

orangecontrib.tomwer.widgets.other.PythonScriptOW.interleave(seq1, seq2)#

Interleave elements of seq2 between consecutive elements of seq1.

>>> list(interleave([1, 3, 5], [2, 4]))
[1, 2, 3, 4, 5]