← Back to Python__new__ vs __init__
Pythonpython
The Question
What is the difference between __new__ and __init__?
What a Strong Answer Covers
- __new__ creates
- cls
- "__init__ initializes
- self
- "immutable types/singleton
Related Questions
Practice This Question
Get AI-graded feedback on your answer with follow-up probes on weak points.
Take the Free Assessment