[Tutor] taking support of strings in solving numerical problems
Cameron Simpson
cs at cskk.id.au
Mon Oct 26 18:12:08 EDT 2020
On 26Oct2020 15:48, Manprit Singh <manpritsinghece at gmail.com> wrote:
>See all(iterable) will return True if iterable is empty also .
Yes. You may find it helpful to think of all() as testing for failure:
any item which is false. An empty iterable has no false elements, so
all() returns True.
Cheers,
Cameron Simpson <cs at cskk.id.au>
More information about the Tutor
mailing list