Question: what does any do in python?
Answer: Definition and Usage The any() function returns True if any item in an iterable are true, otherwise it returns False. If the iterable object is empty, the any() function will return False.