parameters: (self, s)
return_statement: return "".join(reversed(result))
docstring: :type s: str
          :rtype: str
docstring_summary: :type s: str
          :rtype: str
docstring_tokens: : type s : str : rtype : str
function: def freqAlphabets(self, s):
          """
          :type s: str
          :rtype: str
          """
          def alpha(num):
              return chr(ord('a') + int(num)-1)
  
          i = len(s)-1
          result = []
          while i >= 0:
              if s[i] == '#':
                  result.append(alpha(s[i-2:i]))
                  i -= 3
              else:
                  result.append(alpha(s[i]))
                  i -= 1
          return "".join(reversed(result))
function_tokens: def freqAlphabets ( self , s ) : def alpha ( num ) : return chr ( ord ( 'a' ) + int ( num ) - 1 ) i = len ( s ) - 1 result = [ ] while i >= 0 : if s [ i ] == '#' : result . append ( alpha ( s [ i - 2 : i ] ) ) i -= 3 else : result . append ( alpha ( s [ i ] ) ) i -= 1 return "" . join ( reversed ( result ) )