Question d’entretien chez Chetu

Explain the concepts of encapsulation, inheritance, and polymorphism in Python. What are Python decorators and how do they work? What is the Global Interpreter Lock (GIL) in Python?