Python 物件導向(Object-oriented programming,簡稱OOP),類別(Class), ... x += 2 #現在有兩個x了,一個在class內(52),一個為全域變數(50).
確定! 回上一頁