class Game():
    def __init__(self):
        self._score = 0

    def roll(self, pins):
        pass

    def score(self):
        return 0

class Game():
    def __init__(self):
        self._score = 0

    def roll(self, pins):
        self._score += pins

    def score(self):
        return self._score

Update score in Game class methods
[Python] Update score in Game class methods

  class Game():
      def __init__(self):
          self._score = 0
  
      def roll(self, pins):
-         pass
+         self._score += pins
  
      def score(self):
-         return 0
+         return self._score
  
Update score in Game class methods
## Code Before:
class Game():
    def __init__(self):
        self._score = 0

    def roll(self, pins):
        pass

    def score(self):
        return 0

## Instruction:
Update score in Game class methods
## Code After:
class Game():
    def __init__(self):
        self._score = 0

    def roll(self, pins):
        self._score += pins

    def score(self):
        return self._score
