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...

Markdown supported Β· ββ΅ to post
Ashwin Sharma P
Kritika Singhal
Learning By Doing
Very well drafted π Wasn't aware about all(). Glad to learn about it.