1. Python: map
The map() function applies a given function to all items in an input list (or any other iterable) and returns a map object (an iterator). This is particularly useful for transforming data in a list comprehensively. An iterable is any python object: capable of returning its members one at a time, permitting it to be iterated over in a for-loop. implements __iter__ method, which returns an iterator, or __getitem__ method suitable for indexed lookup. The examples are list, tuple, string, dict, set. An iterator is an object that: ...