class Person(): def __init__(self): # __init__() 是特殊的Python 名稱,代表一個方法→ 這個方法會用它的「類別定義」來「初始化」一個單一物件 pass # self 引數 ...
確定! 回上一頁