Create line by list

Hi all,

i have a list of points

i would like to create a line combining ‘0 list’ (this is called the index right?) with ‘1 list’. So now i get it done with ‘getitematindex’. But i would like to know how this can be done with code block. Because this will probably be a lot faster

Can somebody help me out here?

You can index into lists with with square brackets like this: