I would like to use a constant that I created in one enum as an attribute of another, for example:
from enum import Enum
class Jokenpo(Enum):
PEDRA = ('Rock', [Jokenpo.PAPEL], [Jokenpo.TESOURA])
PAPEL = ('Paper', [Jokenpo.TESOURA], [...
asked by
01.06.2018 / 04:08