13 lines
229 B
Python
13 lines
229 B
Python
from enum import Enum
|
|
|
|
|
|
class ModeEnum(str, Enum):
|
|
DIVIDE = "divide"
|
|
MULTIPLY = "multiply"
|
|
PLUS = "plus"
|
|
PLUS_PERCENT = "plus_percent"
|
|
SET = "set"
|
|
|
|
def __str__(self) -> str:
|
|
return str(self.value)
|