Python Developer — Easy What is a Python decorator? A A class that adds UI design to functions B A function that takes another function as input and returns a modified version, used to wrap or extend behavior C A special method for string formatting D A type annotation used for static analysis Show explanation