Python中设置变量作为默认值时容易遇到的错误 思考一下下面的代码片段: def foo(numbers=[]): numbers append(9) print numbers 在这里,我 python编程 2022-04-04 82 点赞 1 评论 124 浏览