translating user input in python
<p>I would like to translate items in a list (e.g. <code>[1,2,3,4,5,6,7,8,9]</code>) to items in another list (e.g. the names of those numbers). </p>

<p>Furthermore, I want to be able to do the translation so that when a user inputs '1', "one" is printed, and similarly for '2', etc.</p>

<p>Here's the code I have so far:</p>

<pre><code>numbers = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
names = ['zero', 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 
         'eight', 'nine']
myDict = dict(zip(numbers, names))
</code></pre>
