oop in python building blocks in this we will discuss object oriented terms and programming concepts in detail class is just factory for an instance this factory contains the blueprint which describes how to make the instances an instances or object are constructed from the class in most caseswe can have more than one instances of class every instance has set of attribute and these attributes are defined in classso every instance of particular class is expected to have the same attributes class bundles behavior and state class will let you bundle together the behavior and state of an object observe the following diagram for better understandingthe following points are worth notable when discussing class bundlesthe word behavior is identical to function it is piece of code that does something (or implements behaviorthe word state is identical to variables it is place to store values within class when we assert class behavior and state togetherit means that class packages functions and variables