Skip to content

Infinite sequence of all combinations #293

@svenstaro

Description

@svenstaro

Given a list of inputs ["A", "B", "C"] I want an iterator that gives me an infinite combination output so that we get ["A", "B", "C", "AA", "AB", ..., "CCCC", .... I don't believe this is currently easily possible using itertools.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions