The any() Function in Python
Learn about the any() function in Python
Published in
2 min readJul 31, 2021
or operator
Let’s say a job posting only requires one of the following to be true: at least 10 years of SQL experience, or 12 years of machine learning experience, or 8 years of statistical analysis experience.
We can write a function that checks if any of those are True by using the or…