cant seem to figure out what is wrong with this code?

```
def delete_starting_evens(lst):
if len(lst) > 0:
i = 0
while lst[i] % 2 == 0 and i < len(lst):
lst = lst[i + 1:]
i += 1
return lst
else:
return [ ]
```

thanks in advance