Can someone tell why the following result is true. all(2%p>0 for p in set()) I know that am empty set is false. I cannot understand why the remain after divided by a empty set is greater than zero.
Asked
Active
Viewed 59 times
-2
-
6Documentation for `all`: `Return True if all elements of the iterable are true (or if the iterable is empty).`. If the set is empty, the created iterable won't have any elements. – Carcigenicate Apr 09 '20 at 17:18