定義在函式外的變數其範圍是整個Python 檔案,又稱全域變數全域指的是在Python 中使用globals 方法 ... 自學Python 100 天,全域變數、區域變數global、nonlocal 概覽.
確定! 回上一頁