16 Oct 2018 16 Oct '18
On Mon, 15 Oct 2018 at 23:25, Pål Grønås Drange email@example.com wrote:
Hasan, if you recall that the powerset is just `yield from S choose k for k from 0 to |S|+1`, you see that that is exactly the implementation in the examples page.
I know that, but when one searches for a powerset function, the logical place to look isn't itertools, it's the set class. -- H
-- OpenPGP: https://sks-keyservers.net/pks/lookup?op=get&search=0xFEBAD7FFD041BBA1 If you wish to request my time, please do so using bit.ly/hd1AppointmentRequest. Si vous voudrais faire connnaisance, allez a bit.ly/hd1AppointmentRequest. Sent from my mobile device Envoye de mon portable