Mar-16-2023, 04:22 PM
Depending on what do_something looks like, there is always list comprehension...
alist = [1,2,3] blist = [4,5,6] clist = [7,8,9] print([element_c for element_c in clist for element_b in blist for element_a in alist])