"in python, how do i index a list with another list?",T = [L[i] for i in Idx]