code: def hammingDistance(self, tree):
          '''
          Finds the Hamming distance between this tree and the one passed as argument.
          '''
  
          s1 = ' '.join(map(View.__str__, self.views))
          s2 = ' '.join(map(View.__str__, tree))
  
          return ViewClient.__hammingDistance(s1, s2f hammingDistance(self, tree):
          '''
          Finds the Hamming distance between this tree and the one passed as argument.
          '''
  
          s1 = ' '.join(map(View.__str__, self.views))
          s2 = ' '.join(map(View.__str__, tree))
  
          return ViewClient.__hammingDistance(s1, s2)
docs: Finds the Hamming distance between this tree and the one passed as argument.