Python - Check If Multiple String Entries Contain Invalid Chars
<p>Using Python v2.x, I have 3 variables that I want to ask the user for, as below:</p>

<pre><code>def Main():
    Class_A_Input = int(raw_input('Enter Class A tickets sold: '))
    Class_B_Input = int(raw_input('Enter Class B tickets sold: '))
    Class_C_Input = int(raw_input('Enter Class C tickets sold: '))
</code></pre>

<p>How can I check if the user input is a valid input. IE: I want only numerical data entered. I have done this once before using 'chars = set('0123456789') and the 'WHILE' functions, but cannot seem to get it to work for multiple inputs.</p>

<p>Thanks for any help.</p>
