# multi arg assign in forEnum from non list of lists class ListTest def main is shared ls = [1, 2, 3, 4, 5, 6] # ls needs to be pairs i.e [[1,2],[3,4],[5,6]] for l1, l2 in ls # .error. Cannot find an indexer assert l1 in [1, 3, 5] assert l2 in [2, 4, 6]