quiz image

Python Decorators Quiz

NicerHydra avatar
NicerHydra
·
·
Download

Start Quiz

Study Flashcards

1 Questions

def mk(x): def mk1(): print("Decorated") x() return mk1 def mk2(): print("Ordinary") p = mk(mk2) p()

Decorated Ordinary

Test your knowledge of Python decorators with this quiz that involves creating and using decorators in Python functions.

Make Your Own Quizzes and Flashcards

Convert your notes into interactive study material.

Get started for free

More Quizzes Like This

Use Quizgecko on...
Browser
Browser