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_1 = var_0.split ( ' ' )
      var_2 = [ None ] * len ( var_1 )
      for var_3 in var_1 :
          var_4 = int ( var_3 [ - 1 ] ) - 1
          var_2 [ var_4 ] = var_3 [ : - 1 ]
      return ' '.join ( var_2 )
  