1. Features are attributes, actions are methods
2. Use classes to create objects
3. Class attributes and object attributes
4. The def in the class is the method
phone1 now when calling call, it passes its own address into call, that is, it passes me in, self is what I mean, whoever calls call, self is whoever is, pass in as a parameter, self It is dynamic and constantly changing.
How to solve the above shadow?
One of the magic methods
5. Class method:
6. Static method:
7, the difference between the three