DEV Community

Discussion on: Python's enumerate function

Collapse
 
anshsaini profile image
Ansh Saini

Last line of your code:

new_arr = [letter for index,letter in test_letters if index % 2 == 0 and letter in vowels]

you forgot to actually use the enumerate function 😂😂

Collapse
 
micahsgilbert profile image
Micah Gilbert

Wow! I can't believe I missed that. Fixed.