comefrom: <doocs>1342.Number of Steps to Reduce a Number to Zero_1.py
code: def numberOfSteps( num: int) -> int:
      ans = 0
      while num:
          if num & 1:
              num -= 1
          else:
              num >>= 1
          ans += 1
      return ans
masked: def sample_funcname ( var_0 : int ) -> int :
      var_3 = 0
      while var_0 :
          if var_0 & 1 :
              var_0 -= 1
          else :
              var_0 >>= 1
          var_3 += 1
      return var_3
  