I have the following class enum:
class LogLevel(Enum):
level_1 = 0x30
level_2 = 0x31
level_3 = 0x32
level_4 = 0x33
level_5 = 0x34
level_6 = 0x35
level_7 = 0x36
level_8 = 0x37
level_9 = 0x38
I need to iterate from level_5 to level_6.
I tried islice() but haven't had any success