code: def score(self, flags: Flags) -> int:
          
  
          score = 0
  
          for k, v in flags.items():
              if self.flags.get(k) == v:
                  score += 1
  
          return score
docs: Counts how many of the flags can be matched