Posts

Showing posts from February 21, 2019

Removing commas from a list and just keeping the elements

Image
3 1 $begingroup$ I have the following list. I want to remove all commas and just be left with the elements of the set. Tuples[{I, l}, 16] {{I, I, I, I, I, I, I, I, I, I, I, I, I, I, I, I}, {I, I, I, I, I, I, I, I, I, I, I, I, I, I, I, l}, {I, I, I, I, I, I, I, I, I, I, I, I, I, I, l, I}, {I, I, I, I, I, I, I, I, I, I, I, I, I, I, l, l}, ....} I would like something like: {{IIIIIIIIIIIIIIII}, {IIIIIIIIIIIIIIIl}, {IIIIIIIIIIIIIIlI}, {IIIIIIIIIIIIIIll}, ....} list-manipulation share | improve this question edited Jan 29 at 21:48 Peter Mortensen 330 2 7