In [1]:
x = range(5)
x


Out[1]:
[0, 1, 2, 3, 4]

In [2]:
y = range(3, 13, 2)
y


Out[2]:
[3, 5, 7, 9, 11]

In [3]:
m = map((lambda x, y: x + y), x, y)
m


Out[3]:
[3, 6, 9, 12, 15]

In [4]:
r = reduce((lambda x, y: x + y), m)
r


Out[4]:
45

In [5]:
m = ['hello', 'world', 'ian', 'janis', 'fink']
m


Out[5]:
['hello', 'world', 'ian', 'janis', 'fink']

In [6]:
r = reduce((lambda x, y: x + y), m)
r


Out[6]:
'helloworldianjanisfink'

In [7]:
sum(m)


---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-7-0a1114936599> in <module>()
----> 1 sum(m)

TypeError: unsupported operand type(s) for +: 'int' and 'str'

In [8]:
''.join(m)


Out[8]:
'helloworldianjanisfink'

In [9]:
zip(x, y)


Out[9]:
[(0, 3), (1, 5), (2, 7), (3, 9), (4, 11)]

In [10]:
zip(zip(x, y))


Out[10]:
[((0, 3),), ((1, 5),), ((2, 7),), ((3, 9),), ((4, 11),)]

In [11]:
zip(*zip(x, y))


Out[11]:
[(0, 1, 2, 3, 4), (3, 5, 7, 9, 11)]