re: Essential Python 3 code for lists VIEW POST

FULL DISCUSSION
 

I use enumerate a lot so:

for index, element in enumerate(my_list):
    # Do whatever
code of conduct - report abuse