Help with counting iteration in Python

the script looks dense to me for what you describe. Is this the output you’re after?


list-max-target.gh (7.0 KB)