Object-Oriented Programming in Python
Take Notes
Add notes about the concepts you've learned and code cells with code you want to keep.
Add your notes here
# Add your code snippets hereClasses incorporate information about state and behavior. State information in Python is contained in attributes, and behavior information -- in methods Attributes (or states) in Python objects are represented by variables -- like numbers, or strings, or tuples, in the case of the numpy array shape. Methods, or behaviors, are represented by functions. Both are accessible from an object using the dot syntax. The real strength of OOP comes from utilizing classes. Classes are like blueprints for objects. They describe the possible states and behaviors that every object of a certain type could have The fundamental concepts of OOP are objects and classes. An object is a data structure incorporating information about state and behavior.