string 是內建的Python 類別,可製作如:'cat' 與'duck' 等字串物件 ... 在Person 類別定義式「裡面」,可以用self.name 來存取name 屬性 # 並非所有的「類別定義式」 ...
確定! 回上一頁