各自建立radius變數,在類別或物件上的變數皆稱為『屬性(attribute)』 my_circle1.radius = 5 print(2 * 3.14 * my_circle1.radius)
確定! 回上一頁