【PYTHON】在函式內部使用exec設定變數. 2020-11-03 PYTHON ... "worked" def function(): exec("old_string = new_string") print(old_string) function()
確定! 回上一頁