How can I represent an ‘Enum’ in Python?

I’m mainly a C# developer, but I’m currently working on a project in Python.

How can I represent the equivalent of an Enum in Python?

43 s
43

Leave a Comment