{1} 建構 Cat 的類別,這是Python3的表示方法,如果是使用Python2.7的話,要寫成 class Cat(object): 才可以。 {2} Python的初始化方法,Python在初始化 ...
確定! 回上一頁