Using C++ and ctypes together: a vast conspiracy? ;)

Terry Reedy tjreedy at udel.edu
Wed Jun 3 12:33:19 EDT 2009


A. Cavallo wrote:

> 
> print [ x*2 for range(10) in data if (x%2 == 0) ]

I hope you meant

print [ x*2 for x in range(10) if (x%2 == 0) ]




More information about the Python-list mailing list