Re: Reinventing a more limited wheel
[(x, y, x/y) for x, y in ((x, f(x)) for x in input_data) if y > 0]
The new syntax is using less characters. This appeals to many programmers but I thought Python was not such a language.
Biting the hand that feeds IT © 1998–2019