Python · OOP: Properties, Methods & Data Classes
What does this print? ``` class B: __slots__ = ("x",) def __init__(self): self.x = 1 b = B() print(b.__dict__) ```
Answer locked. Get the free KnowCard app to reveal it — plus spaced-repetition review so it actually sticks.
