MCQs > IT & Programming > Python > Why would you use a decorator?

Python MCQs

Why would you use a decorator?

Answer

Correct Answer: You use the decorator to alter the functionality of a function without having to modify the functions code.

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Python Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Python Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it