title: Remove Last Number of a Integer
body: <p>I have searched for a few answers and none of them seems to work.</p>
  
  <p>Below is an example but the code does not work and gives errors. I am using Python 2.7.</p>
  
  <pre><code>operationTwo = 91239
  operationTwo = operationTwo[:-1]
  print(operationTwo)
  </code></pre>