Micro1 interview question

Q.1 :- In Python, explain how you'd use dataclass or an equivalent approach to represent an immutable value object, and what pitfalls you'd watch for in production.