Skip to content

Instantly share code, notes, and snippets.

@EkremDincel
Created June 14, 2020 13:52
Show Gist options
  • Save EkremDincel/6d667fd79fdbeaf26d5e117d47dd1230 to your computer and use it in GitHub Desktop.
Save EkremDincel/6d667fd79fdbeaf26d5e117d47dd1230 to your computer and use it in GitHub Desktop.
Pythonic Enum example
class MyEnum():
(ONE,
TWO,
THREE,
FOUR,
FIVE) = range(5)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment