How do I insert "Z" and then a number going from 1 to end (without space) in a list?
I have the following list:
Input:
list = {{1, 1}, {2, 1}, {3, 1}, {5, 1}, {1, 2}, {2, 2}, {3, 2}}
Output:
{Z1, 1, 1}, {Z2, 2, 1},{Z3, 3, 1}...
I have tried using the commando Insert
and looking at inserting at several positions, but without luck.