convert string of numbers to letters python
<p>I need to convert a string of numbers into a string of letters to form words
Example:
if the input to your program is
1920012532082114071825463219200125320615151209190846 it should return
stay hungry. stay foolish.</p>

<p>I have this so far:</p>

<pre><code>def number ():
output = []
input = raw_input ("please enter a string of numbers: ")
for number in input:
    if number &lt;= 26:
        character = chr(int(number+96))
        output.append(character)
    else:
        character = chr(int(number))
        output.append(character)
print output
</code></pre>

<p>I need it to somehow determine that every two numbers equals one letter.
I have a program that does the reverse of this, outputs numbers when given letter. this is what that looks like:</p>

<pre><code>def word ():
output = []
input = raw_input("please enter a string of lowercase characters: ")
for character in input:
    number = ord(character) - 96
    if number &gt; 0:
        if number &lt;= 9:
            output.append('0' + str(number))
        else:
            output.append(str(number))
    else:
        output.append(str(number + 96))
print ''.join(output)
</code></pre>

<p>Thanks for the help</p>
