title: Python input string error (don't want to use raw_input)
body: <p>I have a menu that asks for the user to pick one of the options. Since this menu is from 1 to 10, I'm using input besides raw_input.</p>
  
  <p>My code as an if statement that if the number the user inputs is from 1 to 10 it does the option. If the user inputs any number besides that ones, the else statement says to the user pick a number from 1 to 10.</p>
  
  <p>The problem is if the user types an string, lets say for example qwert. It gives me an error because its an string. I understand why and I don want to use raw_input.</p>
  
  <p>What can I do to wen the user types a string it goes to my else statement and print for example "Only numbers are valid. Pick a number from 1 to 10"</p>
  
  <p>I don't want to use any advanced programing to do this</p>
  
  <p>Regards,</p>
  
  <p>Favolas</p>
  
  <p><strong>EDIT</strong>
  Thanks for all your answers and sorry for the late response but I had some health problems.</p>
  
  <p>I couldn't use try or except because my teacher didn't allow it. 
  In the end, I've used raw_input because it was the simplest alternative but was glad to see that are many ways to solve this problem.</p>
  
  <p>Regards,</p>
  
  <p>Favolas </p>