Create dictionary based of x items per key from two lists

Chris Angelico rosuav at gmail.com
Sat Jan 31 22:22:16 EST 2015


On Sun, Feb 1, 2015 at 2:06 PM, Mark Lawrence <breamoreboy at yahoo.co.uk> wrote:
> The one-liner might not be better code, but it must be better speed wise
> precisely because it's on one line, right? :)

Well of course it is. Python code speed is always measured in lines
per minute. That's why you should eliminate blank lines from your
code.

ChrisA



More information about the Python-list mailing list