
from enum import Enum

class DateResolution(Enum):
    Year, Month, Week, Weekday, Day, Ordinal = range(6)

class TimeResolution(Enum):
    Seconds, Minutes, Hours = range(3)


class DateResolution(object):
    Year, Month, Week, Weekday, Day, Ordinal = list(range(6))

class TimeResolution(object):
    Seconds, Minutes, Hours = list(range(3))

Remove use of enum in Python3
Remove use of enum in Python3

  
- from enum import Enum
+ class DateResolution(object):
+     Year, Month, Week, Weekday, Day, Ordinal = list(range(6))
  
- class DateResolution(Enum):
-     Year, Month, Week, Weekday, Day, Ordinal = range(6)
+ class TimeResolution(object):
+     Seconds, Minutes, Hours = list(range(3))
  
- class TimeResolution(Enum):
-     Seconds, Minutes, Hours = range(3)
- 
Remove use of enum in Python3
## Code Before:

from enum import Enum

class DateResolution(Enum):
    Year, Month, Week, Weekday, Day, Ordinal = range(6)

class TimeResolution(Enum):
    Seconds, Minutes, Hours = range(3)

## Instruction:
Remove use of enum in Python3
## Code After:

class DateResolution(object):
    Year, Month, Week, Weekday, Day, Ordinal = list(range(6))

class TimeResolution(object):
    Seconds, Minutes, Hours = list(range(3))
