I tried searching but everything I found doesn't answer my requirements, let's say I have this list in python:
["a", "b", "c"]
I need absulutly every combination available, based on a length I give it, let's say the length is 1, I'll receive:
["a"]
["b"]
["c"]
Let's say the length is 3:
["a", "a", "a"]
["b", "a", "a"]
["c", "a", "a"]
["a", "b", "a"]
["b", "b", "a"]
["c", "b", "a"]
["a", "c", "a"]
["b", "c", "a"]
["c", "c", "a"]
["a", "a", "b"]
["b", "a", "b"]
["c", "a", "b"]
["a", "b", "b"]
["b", "b", "b"]
["c", "b", "b"]
["a", "c", "b"]
["b", "c", "b"]
["c", "c", "b"]
["a", "a", "c"]
["b", "a", "c"]
["c", "a", "c"]
["a", "b", "c"]
["b", "b", "c"]
["c", "b", "c"]
["a", "c", "c"]
["b", "c", "c"]
["c", "c", "c"]
So I haven't found something that does that. Yes, I've looked at the similar popular post on here, but I didn't find the answer to that there as well.