Python · Enumerations & Flags
What does this print? ``` class TL(enum.Flag): Red = enum.auto() Amber = enum.auto() Green = enum.auto() s = TL.Red | TL.Amber print(bool(s & TL.Green)) ```
Answer locked. Get the free KnowCard app to reveal it — plus spaced-repetition review so it actually sticks.
