參數b 必須為字串! 下面是一個比較具體用途的圓類別Circle 範例: >>> class Circle(): # 定義圓類別. def __init__(self, radius=1): # 建構子.
確定! 回上一頁