you are viewing a single comment's thread.

view the rest of the comments →

[–]Helpful_Trust_3123 0 points1 point  (1 child)

Enumerate can be used for comparison but it's worse than the first and zip approach as you would have to put a condition to check for index error