>>> [i[::-1].index(None) if None in i else len(i) for i in zip(*listA)]
[4, 0, 1, 4]
metropolis
- 6,705
- 2
- 6
- 16
>>> [i[::-1].index(None) if None in i else len(i) for i in zip(*listA)]
[4, 0, 1, 4]