其實若是要做指定運算,在函數內即使是全域變數也無法被使用。將上面的程式修改如下。 ... class One(): math = None eng = None python = None name = None
確定! 回上一頁