Learn now: https://edu.csdn.net/course/play/26676/339580?utm_source=blogtoedu
1. Compare methods and functions
2. Understand the characteristics of class methods
3. Understand the characteristics of static methods
The first parameter of the method in the class must be self.
The method cannot be called alone, it must be called through a class or instance.
The function can be used alone.