Re:Python built-ins worth learning (2019)
by sritchie on Wednesday March 09, 2022 @09:43PM
(#30622641)
That condition would fail on non-list sequences, like `numbers == (1,2,3)`; the `len` version makes the code more permissive.
[ Parent
| on HN ]
There are no comments on this comment yet.