Question #340

Which code creates an empty class?

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...)


Comment on Disqus:

Comment on Twitter:

Question difficulty: ๐Ÿ”ต๐Ÿ”ต๐Ÿ”ต๐Ÿ”ต๐Ÿ”ต