comefrom: <doocs>1859.Sorting the Sentence_1.py
code: def sortSentence( s: str) -> str:
      words = s.split(' ')
      arr = [None] * len(words)
      for word in words:
          idx = int(word[-1]) - 1
          arr[idx] = word[:-1]
      return ' '.join(arr)
masked: def sample_funcname ( var_0 : str ) -> str :
      var_4 = var_0.split ( ' ' )
      var_7 = [ None ] * len ( var_4 )
      for var_8 in var_4 :
          var_11 = int ( var_8 [ - 1 ] ) - 1
          var_7 [ var_11 ] = var_8 [ : - 1 ]
      return ' '.join ( var_7 )
  