Geek Culture
Published in

Geek Culture

Python itertools Module Part 1

Combinatoric iterators in Python

Photo by Anne Nygård on Unsplash

The itertools module provides several combinatoric iterators. These functions take one or more input iterables and return an iterator that provides a specific set of combinations of the elements of those iterables.

The functions in this section are:

  • product
  • permutations




A new tech publication by Start it up (

Recommended from Medium

An beginner’s guide to Paxos — Part 2

Databases in Easy Words

Failing Fast through Code: How We Do MVPs

Scheduling IT and Engineering on-call rotations just got easier

Flutter State Management with Riverpod

Building machine learning features in Snowflake with open-source feature store Feast

Taraxa Tech Update — Week 42

Parallel Space — 64Bit Support Apk

Parallel Space - 64Bit Support Apk

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
Martin McBride

Martin McBride

Software developer. Java, Python, C++ etc. I write for and maintain the generativepy library.

More from Medium

Python itertools Module Part 2

I Shortened This 21-Line Function Into One Line For Fun

Memory Management in Python: Garbage Collector

Python Conditional Statment : If, If Else, Elif