i am not able to understand the tutorial of the decorators. do help me with the documentation and what is the basic application of decorators
Doubt regarding python functions -decorators
Ya, it’s a little bit confusing topic. I recommend you to watch that video two to three times. And decorators are used to provide make your functions more flexible. By using them, a lot of redundancy is avoided. As I hope in video you have seen that initially we required the add function that takes 4 arguments but later on by using decorators we just passed only the function arguments. It makes our task easy. I recommend you to make notes along the video and also try to learn topics by writing its code. In case again you feel any confusion or problem pls do ask that. Happy Coding !!