Python  1.0
Functions
_03f_intercala Namespace Reference

Interleaving two lists. More...

Functions

def intercala (l1, l2)
 Interleaves two lists. More...
 
def main ()
 

Detailed Description

Interleaving two lists.

Author
Paulo Roma
Since
21/05/2010

Function Documentation

◆ intercala()

def _03f_intercala.intercala (   l1,
  l2 
)

Interleaves two lists.

Parameters
l1first list.
l2second list.
Returns
a new list with l1 and l2 interleaved.

Referenced by main().

◆ main()

def _03f_intercala.main ( )