python why += behaves differently in recursion

前端 未结 0 1685
情话喂你
情话喂你 2021-01-23 08:11

When using a list as a parameter in a recursive function, If I add items to that list using + operator everything works as expected. But if I am using the += operator the functi

相关标签:
回答
  • 消灭零回复
提交回复
热议问题