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