For anybody exploring the multitude of possible solutions for this problem, here is another one to add to the pile…
try/except with `next()`
>>> def delete_starting_evens(lst): try: return lst[lst.index(next(x for x in lst if x % 2)):] except StopIteration: return  >>> a = [10,2,30,4,51,60,75] >>> b = [10,2,30,4,52,60,76] >>> delete_starting_evens(a) [51, 60, 75] >>> delete_starting_evens(b)  >>>
It breaks down like this,
>>> try: y = next(x for x in a if x % 2) z = a.index(y) print (a[z:]) except StopIteration: print () [51, 60, 75] >>> try: y = next(x for x in b if x % 2) z = b.index(y) print (b[z:]) except StopIteration: print ()  >>>
Some things above may not yet have surfaced in this course:
That being the case, one may wish to cycle back to this solution when those topics come up or on review after completing the course.