Home
/
Python 3.11
/
Enum
/
value
Python 3.0
Python 3.11
Functions
ID
EN
…
Enum
value
Python 3.11
The value given to the Enum member:
Syntax
PYTHON
Copy
value
Examples
Example 1
PYTHON
Copy
>>> Color.RED.value 1
See Also
__new__()
int
str
auto
auto
dict
list
dataclass