This Repository is a collection of different ethical hacking tools and malware's for penetration testing and research purpose written in python, ruby, rust, c++, go and c.
JavaScript algorithmsartificial-intelligencebugbountycryptographycyber-threat-intelligencecybersecurity-projectsethical-hackinghacking-toolsmalwarenessusnetwork-monitoringnetwork-securitynmapportscannerpythonpythonprojectsthreat-intelligencevirus-scanning
title: Python any() built-in function - Python Cheatsheet description: Return True if any element of the iterable is true. If the iterable is empty, return False.
Python any() built-in function From the Python 3 documentation Return True if any element of the iterable is true. If the iterable is empty, return False.Examples
>>> any([False, False, False])
# False
>>> any((0, True, False))
# True
>>> any({0, 0, 0})
# False