Question: what is the difference between encapsulation and abstraction in python?
Answer: Encapsulate hides variables or some implementation that may be changed so often in a class to prevent outsiders access it directly. They must access it via getter and setter methods. Abstraction is used to hiding something too but in a higher degree(class, interface).