This is a bit out there as I haven’t even gotten to the end as I am stuck in my code, unable to proceed. I know what I want to do, but I don’t know how to do it. The function as follows:

def delete_starting_evens(lst):

for num in lst:

if num % 2 == 0:

continue

else:

return lst[**#position of num in the list**:]

break

I don’t even know if the function would work, however I am stuck in the part I have highlighted in bold. How do I introduce the index position of the corresponding num? if I use num it would introduce the value, right?

Thank you in advance for any help.