Python Classes


Everything in the Python language is an object. This includes numbers, strings, data structures, functions, classes, modules and so on. A Python object is like a “box”.

The core Python classes are integers, floats, strings, booleans, lists, dictionaries, tuples, sets, frozensets, functions, ranges, none and custom-defined.

In Python, an attribute is a value associated with an object or class which is referenced by name using dot notation.

Leave a Reply