python定义全局列表_Python:修改函数内的全局列表
First of all, I understand that I can use global statement to access global variables. But somehow I was able to modify a global list without global like below:def func1(nums):nums = [4,5,6]nums = [1,...