python 同一個類裏的不一樣兩個函數,其中一個調用另外一個

class AAA: def aaa(self): self.bbb() def bbb(self): print('222') a = AAA() a.aaa() #最後輸出222
相關文章
相關標籤/搜索