On Mon, 15 Oct 2018 at 23:25, Pål Grønås Drange <[email protected]> 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 _______________________________________________ Python-ideas mailing list [email protected] https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/
