全域變數:定義在函式外,在整個Python整個程式有效。 區域變數:定義在某一函式中 ... 其他所有例外的程式區塊 print("except:其他例外") else: # 沒有發生例外時的程式 ...
確定! 回上一頁