Skip to main content
Tweeted twitter.com/StackMma/status/1352903936060121090
Formatted code
Source Link
MarcoB
  • 67.7k
  • 18
  • 96
  • 198

With a list say {{x1,y1},{x2,y2}…}{{x1, y1}, {x2, y2}, …} and a list {z1}{z1}, what is the best way to create a list {{x1,y1,z1},{x2,y2,z1},{x3,y3,z1}…}{{x1, y1, z1}, {x2, y2, z1}, {x3, y3, z1}, …}?

With a list say {{x1,y1},{x2,y2}…} and a list {z1}, what is the best way to create a list {{x1,y1,z1},{x2,y2,z1},{x3,y3,z1}…}

With a list say {{x1, y1}, {x2, y2}, …} and a list {z1}, what is the best way to create a list {{x1, y1, z1}, {x2, y2, z1}, {x3, y3, z1}, …}?

edited tags
Link
Became Hot Network Question
Source Link
BOUNCE
  • 589
  • 2
  • 9

Compilation of a 2d array and a 1d array

With a list say {{x1,y1},{x2,y2}…} and a list {z1}, what is the best way to create a list {{x1,y1,z1},{x2,y2,z1},{x3,y3,z1}…}