Not that it matters much, but I always prefer doing my for loops like such (in reference to the tests near the end):
for i, x in enumerate(y):
^ This eliminates having to set i = 0 and manually incrementing it inside the loop.
« Back to merge proposal
Not that it matters much, but I always prefer doing my for loops like such (in reference to the tests near the end):
for i, x in enumerate(y):
^ This eliminates having to set i = 0 and manually incrementing it inside the loop.