Python 類別的定義與使用 – Class Attributes By 彭彭



Python 類別的定義與使用 – Class Attributes By 彭彭

Python 類別的定義與使用 - Class Attributes By 彭彭

喜歡彭彭的教學影片嗎?點擊「加入」按紐取得更多會員服務哦。
加入會員:https://www.youtube.com/channel/UCguZS-y7codLSt6vpkVdnKg/join

1. 定義類別
1.1 使用 class 建立類別
1.2 建立類別的屬性 ( 封裝在類別中的變數或函式 )

2. 使用類別的基本語法:類別名稱.屬性名稱

更多學習資訊,
請到彭彭的課程網站:https://training.pada-x.com/