0 votes
in Python by
Use of Enums in Python

1 Answer

0 votes
by
class Training:

Madanswer, Online, Madanswer = range(3)

   

print(MyName.Madanswer)

print(MyName.Online)

print(MyName.Madanswer)

Output:

1

2

3

2

1

2
...