At 58, very nice :-) Building on yours we get 57:
r=range(2,99)
[x for x in r if sum([x%d==0 for d in r])<2]

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

Reply via email to