> isprime(x):((i in range(2,int(sqrt(x)),2):(x%i==0?0))1)
would become much clearer, as in
isprime(x):((i in range(2,int(sqrt(x)),2):(x%i==0?0))1):-)
-- Jack Jansen | If I can't dance I don't want to be part of Jack.Jansen@cwi.nl | your revolution -- Emma Goldman uunet!cwi.nl!jack G=Jack;S=Jansen;O=cwi;PRMD=surf;ADMD=400net;C=nl