itertools.product()

Tap to enable the editor. We recommend coding on the desktop for the best experience.