Define encapsulation in Python?
Data abstraction is the process of simplifying complex reality by modeling classes based on the essential properties and behaviors. In Python, classes provide a way to achieve data abstraction by encapsulating data and methods within class definitions.