r/pythontips • • Mar 07 '19

Python Sets: What, Why and How

Explore the way that Python Sets can help you not just with readability, but also speeding up your programs execution time.

Python Sets: What, Why and How

34 Upvotes

2 comments sorted by

3

u/gnsoria Mar 08 '19

Thanks for sharing! It's a pretty solid example, and I feel that sets are definitely underutilized by beginner and intermediate Python folks (like me).

2

u/savvy__steve Mar 08 '19

Nice article, I'm distracted by the little timeit module. That's something else I picked up as well as info on sets.