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!
Question #340
It is possible to create an empty class! In this case, only
class A:
pass
will work. Other solutions will throw errors. (foxinfotech.in/2018/09/how-to-create-empty-class-in-pytho...)
Which code creates an empty class?
— The Python Quiz (@thepythonquiz) August 24, 2020
class A:
return
Creating an empty class is not possible.
class A:
pass
class A:#python #python3 #pythonprogramming #learnpython
Question difficulty: π΅π΅π΅π΅π΅