I'm looking to generate a series of numbers from a range of numbers to find out all the possible out comes for example
number range 1-10
and if we wanted sequences of 3 numbers from the range they would be like
1,2,3
1,2,4
1,2,5
1,2,6
1,2,7
etc
obviously I'm looping to do this via loops but as to actually getting the numbers in that loop I can't think of a way off the top of my head, any input would be useful
number range 1-10
and if we wanted sequences of 3 numbers from the range they would be like
1,2,3
1,2,4
1,2,5
1,2,6
1,2,7
etc
obviously I'm looping to do this via loops but as to actually getting the numbers in that loop I can't think of a way off the top of my head, any input would be useful
Last edited: