一般使用global variable 的情境是這樣的 tutorial1 num = 1def increment(): global num num += 1. 如此以來, 即使不透過傳遞num值到函式裡, ...
確定! 回上一頁