Change global variables from inside class method

后端 未结 2 570
面向向阳花
面向向阳花 2021-01-19 19:14

When I try to execute the code below, the first_list gets modified while no changes occur to the second one. Is there a way to replace an outside list with a brand new list,

2条回答
提交回复
热议问题