I might be over complicating this but it's stumped me. I have two lists: 1. names 2. weights
Joe weighs 100. John weighs 200, etc. I want to create a new list which would look like so when printed out:
...names_weights
[Joe, 100],
[John, 200],
[Ted,150],
[Bill,200]...
Basically, each person and their corresponding weight are an element in the new list. However, when I try to do this I get a list where all the names are one element, and all the weights are an element. So I get a two element list instead of a 4 element list.
Is there something I'm missing when creating the new list?