ID EN
Enum

value

Python 3.11

The value given to the Enum member:

Syntax

PYTHON
value

Examples

Example 1
PYTHON
>>> Color.RED.value
1

See Also

__new__() int str auto auto dict list dataclass