1. 你所說的「全域變數」其實是module 的property。在python 中,module 是一個物件,「全域變數」是物件上的屬性。 2. `global` 關鍵字只在function ...
確定! 回上一頁