from .card import Card

class BjCard(Card):

    def __init__(self, *args, **kwarg):
        super().__init__(*args, **kwarg)

    @property
    def value(self):
        """ Returns the value of the card used for scoring the game """
        if self._value:
            return self._value
        elif self.rank not in list('JQKA'):
            self._value = int(self.rank)
        elif self.rank in list('JQK'):
            self._value = 10
        else:
            self._value = 11
        return self._value

from .card import Card

class BjCard(Card):

    def __init__(self, suit, rank):
        super().__init__(suit, rank)

    @property
    def value(self):
        """ Returns the value of the card used for scoring the game """
        if self._value:
            return self._value
        elif self.rank not in list('JQKA'):
            self._value = int(self.rank)
        elif self.rank in list('JQK'):
            self._value = 10
        else:
            self._value = 11
        return self._value

Change params to suit and rank
Change params to suit and rank

  from .card import Card
  
  class BjCard(Card):
  
-     def __init__(self, *args, **kwarg):
-         super().__init__(*args, **kwarg)
+     def __init__(self, suit, rank):
+         super().__init__(suit, rank)
  
      @property
      def value(self):
          """ Returns the value of the card used for scoring the game """
          if self._value:
              return self._value
          elif self.rank not in list('JQKA'):
              self._value = int(self.rank)
          elif self.rank in list('JQK'):
              self._value = 10
          else:
              self._value = 11
          return self._value
  
Change params to suit and rank
## Code Before:
from .card import Card

class BjCard(Card):

    def __init__(self, *args, **kwarg):
        super().__init__(*args, **kwarg)

    @property
    def value(self):
        """ Returns the value of the card used for scoring the game """
        if self._value:
            return self._value
        elif self.rank not in list('JQKA'):
            self._value = int(self.rank)
        elif self.rank in list('JQK'):
            self._value = 10
        else:
            self._value = 11
        return self._value

## Instruction:
Change params to suit and rank
## Code After:
from .card import Card

class BjCard(Card):

    def __init__(self, suit, rank):
        super().__init__(suit, rank)

    @property
    def value(self):
        """ Returns the value of the card used for scoring the game """
        if self._value:
            return self._value
        elif self.rank not in list('JQKA'):
            self._value = int(self.rank)
        elif self.rank in list('JQK'):
            self._value = 10
        else:
            self._value = 11
        return self._value
