TransWikia.com

Can you create a list of pairs? Not a list of list

Mathematica Asked by germany1915 on September 26, 2021

Is it possible to get this:{(x1,y1),(x2,y2),(x3,y3)……} -> This is a list of pairs. Not a list of list.

x would be the input into a function, y would be the output.

If not, I will have to create my own Pair function. Pair[Mod[x,6],{x,1,5}]]->

{(1,Mod[1,6]),(2,Mod[2,6])……} -> {(1,1),(2,2),(3,3)…..}

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP