[Python] COUNTIF

sum(1 for ... in ... if ...)

or sum(1 if ... else 0 for ... in ...)

Last Updated on 2023/09/10 by A1go

Bitnami