Computer Science, asked by krubha2208, 1 year ago

How to use enums in Python classes?

Answers

Answered by Aagmansriva993
0

enum in Python

Enumerations in Python are implemented by using the module named “enum“.Enumerations are created using classes. Enums have names and values associated with them.

Properties of enum:

1. Enums can be displayed as string or repr.

please mark me brainliest....I also follow you....

Similar questions