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...
·3 min read·ashwinsharmap.hashnode.devRead the article
Kritika Singhal
Very well drafted 🙌 Wasn't aware about all(). Glad to learn about it.