Appending objects to a list in for loops only adding the last elements

前端 未结 0 1192
情深已故
情深已故 2020-12-15 05:37

ive been trying to make a stack of cards which are objects generated using a complex for loop. but what is happening is that the last card in the loop is getting appended as

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