As the question states. map(f, iterable) can be written as [f(x) for x in iterable]. Which is better to use? And why?
As an example, I would like to convert a list of strings to int.
ip = (raw_input().split())
ip = [int(x) for x in ip]
or
ip = (raw_input().split())
ip = map(int, ip)