Home

Uh... that turned out weird.

Anyways, here goes again

l = [1, 2, 3, 4]
[sum(l[:x+1]) for x in xrange(len(l))]

previous
next

Re: IOError - list of all Errno numbers and their meanings?
Re: which language allows you to change an argument's value?
Re: toprettyxml messes up with whitespaces
Re: templates and friends
Re: (no) fast boolean evaluation ?
Krwinka
Akogo
Fundacja Sloneczko
Kidprotect
Niechciane i Zapomniane