1

I have two lists {a, b, c, d, e} and {1, 2, 3, 4, 5}. I want to creat a new list of tuples as follows {{a, 1}, {b, 2}, {c, 3}, {d, 4}, {e, 5}}. Is there a command in Mathematica that allows me to do this?

m_goldberg
  • 107,779
  • 16
  • 103
  • 257
user40931
  • 13
  • 2

1 Answers1

5
list1 = {a, b, c, d, e};
list2 = {1, 2, 3, 4, 5};
list = Thread@{list1, list2}

{{a, 1}, {b, 2}, {c, 3}, {d, 4}, {e, 5}}