Simple python program
<p>Bear with me, i'm extremely new to the world of programming. I'm trying to design a simple data entry/answer program for ICD-9 codes related to medical billing.</p>

<p>Example:</p>

<pre><code>Enter ICD-9: "487.1"
Answer: "Influenza with respiratory manifestations"

Enter ICD-9 Code: "844.2"
Answer: "Cruciate Ligament Tear of Knee"
</code></pre>

<p>I sketched this out in a few minutes, but I have no idea how to get the program to read a range of numbers instead of just the one number. I'm also getting ValueErrors: invalid literal for int() with base 10: 844.2, so I used 844 just to test.</p>

<p>Filename: icd9wizard.py</p>

<pre><code>number = 844
running = True

while running:
    guess = int(input('Enter ICD-9 Code: '))

    if guess == number:
        print('Cruciate Ligament Tear of Knee')
    elif guess &lt; number:
        print('Invalid entry')
    else:
        print('Invalid entry')
</code></pre>

<p>I know it's basic.. I just need an arrow pointing me in the right direction.</p>

<p>Thanks!</p>
