Q&A
Q&AIs Python map eager or lazy?
In Python 3, map returns an iterator that computes values as it is consumed.
Read the concise answer
Python 3 map is lazy: it returns an iterator and evaluates each mapped value as the iterator advances. Convert it to a list only when you need materialized results or repeated traversal. Lazy evaluation saves memory but exceptions may occur later when a consumer iterates.