Consulta Renta 2021

Note that filter(function, iterable) is equivalent to the generatorexpression (item for item in iterable if function(item)) if function isnot None and (item for item in iterable if item) if function isNone.