def Set_Cards(self, P_Cards): for Card in P_Cards: key = Card.Get_Title() self.Cards[key] = Card self.Update_Cards_Number()