comefrom: <doocs>2180.Count Integers With Even Digit Sum_1.py
code: def countEven( num: int) -> int:
      ans = 0
      for i in range(1, num + 1):
          t = 0
          while i:
              t += i % 10
              i //= 10
          if t % 2 == 0:
              ans += 1
      return ans
masked: def sample_funcname ( var_0 : int ) -> int :
      var_3 = 0
      for var_6 in range ( 1 , var_0 + 1 ) :
          var_7 = 0
          while var_6 :
              var_7 += var_6 % 10
              var_6 //= 10
          if var_7 % 2 == 0 :
              var_3 += 1
      return var_3
  