An expression in Python which is more flexible than map, filter and other built-in methods are List Comprehensions. Now even though they are more flexible, you can very easily start abusing list comprehensions.
The following topics are covered in this tutorial.
1) List Comprehension Syntax
2) List Comprehension vs Map
3) List Comprehension vs Filter
4) Enriching List Comprehensions
5) Avoid abusing list comprehensions
Watch this tutorial to learn more.
Website link -
www.pylenin.com/list_comprehensions.html