The quiz where the difficulty automagically adapts to the player's Python knowledge
This is a question page. You can use this page to bookmark a question. Start a new quiz!
A decorator cannot be decorated with itself. Something like:
@my_decorator def my_decorator(a_function): print("This is decorated") return a_functionwill throw a NameError exception. (realpython.com/primer-on-python-decorators)
A decorator can be decorated with itself.— The Python Quiz (@thepythonquiz) February 13, 2021
👇 Comment the answer, like and retweet! #python
Question difficulty: 🔵🔵🔵🔵🔵