Python · OOP: Properties, Methods & Data Classes
What does this print? ``` from dataclasses import dataclass @dataclass(frozen=True) class P: x: int p = P(1) p.x = 2 ```
Answer locked. Get the free KnowCard app to reveal it — plus spaced-repetition review so it actually sticks.
