Python - mutable lists as arguments, copy isn't working

前端 未结 0 953
感情败类
感情败类 2020-12-30 12:22

When I run the following code, the game_state list changes. I\'m not sure why this is happening, because i am copying the list before passing it as an argument, and would l

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