本篇文章介紹Python 的global 陳述。 ... global 用來在函數(function) 中宣告函數定義外的全域變數(global variable) ,使該全域變數可以在函數中進行處理。
確定! 回上一頁