Skip to main content
Journey Uncommon Logo
JourneyUncommon
mediumPythonenumSingle-choice MCQ

What does `list(Status.__members__.keys())` return, and how does it differ from iterating the enum?

from enum import Enum class Status(Enum): OK = 1 GOOD = 1 BAD = 2