I need some Python code to choose x numbers from a set of y numbers and then give me all possible choices and permutations of that set. Help appreciated. The work itself is something else, this is just a tool so please spare me incentives to fully understand and program the code myself. I need the permutations for a mathematical problem which I want to solve and I don't want to do it by hand with paper and pen.
Please RT.

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves. A STEM-oriented instance.

No hate, No censorship. Be kind, be respectful

We federate with all servers: we don't block any servers.