I was working on a card game using pygame, and i made a variable Deck, then I made another variable DeckRep, to store what the Deck looked like before cards were taken out of it. At the beginning of the code, I ran DeckRep = Deck, and then did not do it again after that.
After the code ran however, and cards had been taken out of Deck, the 2 variables were still the same.
As cards were being removed from Deck, they were also being removed from DeckRep, I have tested with print-commands that it does not run the DeckRep = Deck more than once.
please help me