I have a list that will always contain only ones and zeroes. I need to get a list of the non-zero indices of the list:I have a list that will always contain only one
I have a list that will always contain only ones and zeroes. I need to get a list of the non-zero indices of the list:I have a list that will always contain only one