title: Reject Negative Numbers as exceptions in Python
body: <p>I'm trying to run a basic prompt that takes a number, then runs a recursive function on it.</p>
  
  <p>Any negative number causes a recursion error, for the function being unable to handle them.</p>
  
  <p>Now, I've learned with Python that situations like this call for a 
  "try/except" model. Here's what I came up with:</p>
  
  <pre><code>try: 
    choice = int(input('Enter a number: '))
    INSERT RECURSIVE FUNCTION HERE
  except RecursionError as err:
    print('Error: ', str(err))
  </code></pre>
  
  <p>This exception doesn't work, as it still shows the entire recursive process in red lines, with my exception only replacing the final line. I know I could easily solve this by logic, for example:</p>
  
  <pre><code>if choice &lt; 0:
    print("Error: Bro, We don't take no Negative Numbers around here.")
  </code></pre>
  
  <p>However, I was taught we generally want to avoid "solving errors by Logic" in Python, instead working via the "try/except" model. </p>
  
  <p>What could I do to reject negative numbers via a "try/except" model instead of an "if/else"?</p>
  
  <p>If you can help me understand a way to make this react to ValueError, that'd be another great help.</p>