https://gist.github.com/pkucmus/8cca7a2cfcb351b257c0#file-list_comprehension-py-L19-L23