Python List Comprehensions
· 2 min read
My absolute favorite feature of Python is lists. An elegantly dynamic data structure with a beautiful syntax. Everything from negative step indexing to their use as iterators makes Python lists, and therefore Python, the easiest solution to so many problems. One of the less obvious, but extremely powerful features of Python lists are list comprehensions.