comefrom: <doocs>2259.Remove Digit From Number to Maximize Result_1.py
code: def removeDigit( number: str, digit: str) -> str:
      return max(
          number[:i] + number[i + 1 :] for i, d in enumerate(number) if d == digit
      )
masked: def sample_funcname ( var_0 : str , var_2 : str ) -> str :
      return max ( var_0 [ : var_4 ] + var_0 [ var_4 + 1 : ] for var_4 , var_7 in enumerate ( var_0 ) if var_7 == var_2 )
  