code: def challenge():
    
    enums = dict(
      ACTIVE="active",
      UPCOMING="upcoming",
      HIRING="hiring",
      ALL="all",
      SHORT="short",
    )
  
    return type('Enum', (), enums)
docs: Creates an enum for contest type