Home
/
Python 3.11
/
Enum
/
__len__(self):
Python 3.11
Functions
ID
EN
…
Enum
__len__(self):
Python 3.11
Returns number of members in flag:
Syntax
PYTHON
Copy
__len__(self):
Examples
Example 1
PYTHON
Copy
>>> len(Color.GREEN) 1 >>> len(white) 3