comefrom: <doocs>2000.Reverse Prefix of Word_1.py
code: def reversePrefix( word: str, ch: str) -> str:
      i = word.find(ch)
      return word if i == -1 else word[i::-1] + word[i + 1 :]
masked: def sample_funcname ( var_0 : str , var_2 : str ) -> str :
      var_4 = var_0.find ( var_2 )
      return var_0 if var_4 == - 1 else var_0 [ var_4 : : - 1 ] + var_0 [ var_4 + 1 : ]
  