About 2D lists in App Inventor

I am quite new in App Inventor. May I ask how can I do the following:

list=[24,23,22,21,20,19,18,17,16,15]
list2=[2,4,6,8,10,12,14,16,18,20]

I want a new list with the following:
list3=[ [2,24], [4,23] ... [20,15]]

Thanks

Try this.

List.aia (2.3 KB)

If you want to save it as a global variable that you can access later, you can also use:

This does not display it on a label though.

1 Like

Thanks. This forum really helps me.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.