title: How do I fix "Unexpected unindent" error with try/except/else syntax
body: <p><strong>anything after the else in the while not statement has indentation problems</strong> and i'm sure its because i'm formatting incorrectly. What is the correct way to write this?</p>
  
  <p>I've tried moving around statements but could not figure it out</p>
  
  <p>valid_data = False </p>
  
  <pre><code>while not valid_data:
  
  
      try:
          qty = int(input("How many would you like? (1-10)&gt; "))
      except Exception as detail:
          print("Error: ", detail)
      else:
          try:
              if qty &gt;= 1 and qty &lt;= 10:
                  valid_data = True
      finally:
          print("valid entry")
  </code></pre>
  
  <p>Actual results are for qty to be set to user input between 1 and 10 without possible invalid entry, such as if a user inputs a string the code wont crash. For this assignment I HAVE to use try/except syntax.</p>