Python map iterator

Python map(func,list1[],list2[],...) iterator run the function func for every elements of list1, list2, ..., the length of list1, list2, ... should be equal.

>>> from itertools import *
>>> x = map(max,[5,3,5],[2,34,6],[3,5,7])
>>> for i in x:
>>> print (i)
5
34
7