any() function in Python
Introduction
The any() function returns True if any element in the given iterable is true. If not, it returns False.
The any() function takes a single parameter iterable and returns True if any element in an iterable is true or False if all elements ...
blog.ashutoshkrris.in3 min read