python 默认参数问题的陷阱 python 里面一个常见的陷阱就是函数的默认参数问题。如下: def func(mylist = []): mylist append(1) python编程 2022-04-08 109 点赞 1 评论 165 浏览