属性和方法的解释
A function attached to an object is called a method. (Non-function things attached to an object, such as imag
, are called attributes).
--摘自kagglepython课程
#一直不是很清楚属性和方法有啥区别,这个解释简洁清晰。
A function attached to an object is called a method. (Non-function things attached to an object, such as imag
, are called attributes).
--摘自kagglepython课程
#一直不是很清楚属性和方法有啥区别,这个解释简洁清晰。