          self.cards = cards
          self.deal_index = 0
  
      def remaining_cards(self):
          return len(self.cards) - deal_index
  
      def deal_card():
          try:
              card = self.cards[self.deal_index]
              card.is_available = False
 
</s> remove         for card in card:
 </s> add         for card in self.cards: </s> remove     def deal_card():
 </s> add     def deal_card(self):
        return len(self.cards) - self.deal_index
          self.cards = cards
          self.deal_index = 0
  
      def remaining_cards(self):
        return len(self.cards) - self.deal_index
  
      def deal_card():
          try:
              card = self.cards[self.deal_index]
              card.is_available = False
keep keep keep keep replace keep keep keep keep keep
 Add missing self variables to Deck of Cards solution (#145) 
solutions/object_oriented_design/deck_of_cards/deck_of_cards.py