any() and all() in Python
In this post, we will be looking into any() and all() functions in Python.
First, let us discuss the any() function.
π any()
The any() function takes an iterable as an argument : any(iterable) .
The iterable can be a list, tuple or dictionary.
T...
ashwinsharmap.hashnode.dev3 min read
Kritika Singhal
Learning By Doing
Very well drafted π Wasn't aware about all(). Glad to learn about it.