Level 10 : An empty class is a class that doesn't have any attributes or methods defined in it.


class class_name:
    pass

Author: Pavan | Tags: class | 1736+ Python FAQs | Share
formal-and-actual-parameter | string-iteration | collection | classes | min-function | loop | sys | command-line-parsing | integer | built-in-function | turtle | error | global-keyword | identity-operator | numeric | arithmetic-operation | debugging | counter-function | version | encoding | default-mutable-argument | compute | identifier | precedence-and-associativity | id-function | assert | list-method | update | asyncio-module | return-statement | datetime | precedence | random | type_conversion | call | format | variable | stack | descriptors | lists | iterable | string-method | split | python-django | recursion | else-statement | namedtuple | counter | zip | mapping-function | magic-method | generators | regular-expression | objects | lambdas | software-design | filter-function | memory-management | type-conversion | implementation | rollback | global-variable | sys-module | center | print-statement | matrix | list-comprehension | docstring | filter | assignment-operator | touples | statement | data-structure | interpreter | heap-memory | conversion | error-handling | swapping | goto-function | syntax-error | list-operation | complex | context-manager | file_handling | choice | overflow | pickling-&-unpickling | append | access-modifier | data-type | logical-operator | scientific-notation | comparison | data_structure | expression | immutability | function-argument | library | tuple-unpacking | loop-control | zfill-function | factorial-function | conditional-statement | string-slicing | exception | list-slicing | static-method | range | list-mutation | multiprocessing | logical-operation | input-function | binary | odd-number | asyncio | regex | lambda-function | list-comprehension | pandas | class-and-object | file | exception-handling | string-method | expand-tab | sorted | round | sum-function | attribute | methods | match | virtual-environment | random-function | list | sum() | invalid-list | multiple-inheritance | indexing | frozenset | collections | dicts | method | binary-operation | immutable-data-type | string-concatenation | boolean | escape-operator | mathematics | zip-function | mathematical-function | control-flow | tuple | pep | object-attribute | exponentiation | bitwise | fabs-function | constructor | join | matrix-list-comprehension | operand | postfix | file-handling | parameter | inheritance | operator-and | lambda | generator | init | data-structures | for | input | string-formatting | basic | bitwise-operator | design-principle | print | complex-number | operator | feature | __init_subclass__ | threading | oop | encapsulation | with-statement | class-and-instance-variable | datatype | string-manipulation | built-in-function | namespace | comprehension | shallow-copy | data-structure | thread | decorator | staticmethod | function-and-scope | python-history | name-mangling | set-operation | set | array | deep-copy | memory | inherit | keyword | logical-operator | mysql | functions | indentation | polymorphism | yield | identity-operator | python-module | string-formatting | while-loop | multithreading | syntax | __all__-attribute | type-conversion | module | operators | virtual-environment | global-variable | data-type | while-and-for-loop | matplotlib | control-statement | async | recurssion | built-in | conditional-statement | arithmetic-expression | version-check | pseudocode | list-join | slice | floating-point-precision | package-management | exception-handling | syntax-error | while-else-loop | int | function | file-handling | min-max-function | iterator | __future__ | control-flow | math | loops | oops | raise | installation | input-function | slicing | class | destructor | condition | list-indexing | nested-loop | max-min | global | typeerror | boolean-and-non-boolean | syntaxerror | application | gil | def | numpy | round-function | python_version | python-repl | benefit | functional-programming | class-and-inheritance | operator-overloading | import-method | generators-in-python | operator-or | enumerate() | list-vs-tuple | sorting | math-copysign | copy | comment | decimal | mutable | higher-order-function | dictionaries | string | map-function | operations | dictionary | head-and-tail | bitwise-operator | python | string-slicing ...