1. Home
  2. All MCQs

All MCQs with Answers · Page 685

43,842 multiple choice questions from every subject, newest first. Switch on practice mode to hide the answers and test yourself.

Newest first

What is a decorator in Python?

  1. A comment style
  2. A function that wraps another function to extend its behaviour Correct answer
  3. A class attribute
  4. A type hint
MCQSEXAM Read explanation