this might be a stupid question with a simple answer but I can't for my life figure it out.. :p
So if I have a variable n = 2
for example I want a list of all ways you can combinate the numbers that's less than or equal to n
The result for n = 2
would then be:
012
021
102
120
201
210
Thanks for any help :)