ID EN
Enum

__len__

Python 3.11

Returns the number of member in cls:

Syntax

PYTHON
__len__(cls)

Examples

Example 1
PYTHON
>>> len(Color)
3