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) ]

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to