get item's position in a list,"for i in (i for (i, x) in enumerate(testlist) if (x == 1)):