# Joining 100 lists to make one big list [closed]

I have a number of lists, labed s1,s2,s3,..,s100. And si(i=1,2,...,100) has different lengths and different coordinates. For example, the fist three lists are like

s1 = {{1, 1}, {1, 2}, {1, 3}, {1, 4}};
s2 = {{2, 1}, {2, 2}, {2, 3}};
s3 = {{3, 1}, {3, 2}, {3, 3}, {3, 4}, {3, 5}};


What I want to obtain is

{{1, 1}, {1, 2}, {1, 3}, {1, 4},{2, 1}, {2, 2}, {2, 3},{3, 1}, {3, 2}, {3, 3}, {3, 4}, {3, 5}};


In short, I want to make these coordinates in si(i=1,2,...,100) together, leading to one list. I know 'Join', it make two lists together. If I use 'Do', 'For' and so on, how to achieve it? Thank you.

## closed as off-topic by m_goldberg, Henrik Schumacher, José Antonio Díaz Navas, yohbs, SektorApr 12 '18 at 18:20

This question appears to be off-topic. The users who voted to close gave this specific reason:

• "This question arises due to a simple mistake such as a trivial syntax error, incorrect capitalization, spelling mistake, or other typographical error and is unlikely to help any future visitors, or else it is easily found in the documentation." – m_goldberg, Henrik Schumacher, José Antonio Díaz Navas, yohbs, Sektor
If this question can be reworded to fit the rules in the help center, please edit the question.

• Why did you not try Join[s1, s2, s3]? – J. M. is away Apr 11 '18 at 3:08
• Also Flatten[{s1, s2, s3}, 1] – Bob Hanlon Apr 11 '18 at 3:21
• @J. M. needs help If the lists are too many, we can not use Join[s1,s2,s3,s3,..,s100],.But I have tried loop commands('Do', 'For'), I still not obtain it. – kuzb Apr 11 '18 at 3:23
• @Bob Hanlon Thank you – kuzb Apr 11 '18 at 3:24
• If you have to keep 100 variables around, you're likely doing something wrong. – J. M. is away Apr 11 '18 at 5:45

s1 = {{1, 1}, {1, 2}, {1, 3}, {1, 4}};

change numberOfLists to 100 or 1000 as needed. But I do not think it is a good idea to have so many variables s1, s2 etc... You could design your data struct to avoid this. Use 3D matrix for example. Each page of the matrix is your s. This way you can iterate over pages of one variable of type 3D matrix instead of 100's of separate named variables.