This would seem like a rather common thing to do: I've been trying since yesterday to
Append a increasing sequence of numbers to my list of a pair of numbers. Researching possible solutions, I've explored using
Module in various combinations to no effect. Returning to my original approach, it's not behaving as expected. (I understand the result, just not how to get the result I want.)
data = Partition[RandomSample[Range],2,1]; seq = Range[Length[data]]; Append[#,seq] &/@ data
Uh.. In regards to the suggestion this is a duplicate: As a beginner, I can't even comprehend the code in the linked question. (Like what is the
Min in the question?) Ultimately, I'd still have followup questions. I'm just running in the possible suggested solutions from this thread now. Thanks to all who offered answers.