Python Functions as Objects
One of the fundamentals of Python is that it treats everything as an object. So variables, lists, tuples, sets, dictionaries, functions - everything is an object in Python.
An object is an instance of a class. In other words, every object belongs to ...
mochatek.hashnode.dev5 min read