python's functions/modular programming Flashcards
understand the basics of modular programming in python
1
Q
What are decorators?
A
A decorator is a function that takes another function and extends its behavior without explicitly modifying it. Decorators are useful for adding extra functionality to functions or methods, like logging, access control, measuring execution time, etc.
2
Q
A