Hello atoqued,

Thanks for your comments.

If you haven't seen people misuse sets, I had. And actually I was one of them when I started using Python a few years back.

One remark on your last point. Which apples I am comparing? If you think I compared lists and generators, you're wrong. That was only an example. I only said they are fast, which is mentioned in Python documentation. The point was to encourage people to learn itertools.

Cheers,

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store