comefrom: <doocs>0191.Number of 1 Bits_1.py
code: def hammingWeight( n: int) -> int:
      ans = 0
      while n:
          n &= n - 1
          ans += 1
      return ans
masked: def sample_funcname ( var_0 : int ) -> int :
      var_3 = 0
      while var_0 :
          var_0 &= var_0 - 1
          var_3 += 1
      return var_3
  