I want to make a code that How to assign in order.
?In detail,I want to make a list of four numbers. The first two numbers in the list are 2 and 5, and the remaining two numbers are all integers from 1 to 6. I want to output all patterns.
My code like this.?
a = Table[i, {i, 1, 6}]
b = Table[i, {i, 1, 6}]
list[2, 5], a, b]
My code does not work.
I want the answer to be output like this:
{2,5,1,1},{2,5,1,2},{2,5,1,3}........{2,5,6,6}

