code: def draw(self, d, i=None):
          '''
          Adds a domino to the hand.
  
          :param Domino d: domino to add to the hand
          :param int i: index at which to add the domino;
                        by default adds to the end of the hand
          :return: None
          '''
          if i is None:
              self._dominoes.append(d)
          else:
              self._dominoes.insert(i, df draw(self, d, i=None):
          '''
          Adds a domino to the hand.
  
          :param Domino d: domino to add to the hand
          :param int i: index at which to add the domino;
                        by default adds to the end of the hand
          :return: None
          '''
          if i is None:
              self._dominoes.append(d)
          else:
              self._dominoes.insert(i, d)
docs: Adds a domino to the hand.
  
          :param Domino d: domino to add to the hand
          :param int i: index at which to add the domino;
                        by default adds to the end of the hand
          :return: None