PCPP1 • Practice Test 11
Free PCPP1 practice test — 15 questions with explanations. Set 11. No signup required.
You are creating a class where you want to prevent instances from having a __dict__ to save memory. You add __slots__ = ('x', 'y') to the class. Which statement is true about this class?
Choose an answer to begin — your selection is scored in the full session.
15 questions · instant feedback and full explanations after every question.