title: Advice on making Python code more concise
body: <p>I've just started learning python and have just finished writing a program that allows a user to find the nth term of the Fibonacci sequence. I have tested it and it appears to work as intended. My question is how can I make my code more concise or more pythonic. Any advice or tips would be greatly appreciated. </p>
  
  <pre><code>values = [0,1]
  n1 = 2
  
  while True:                      # input and loop to limit the input range.
      try:
          n = int(input('Please enter position of fibonacci sequence you wish to know.'))
          break
      except:
          print('That\'s not a valid input')
  
  if n &lt; 3:                                #calculation block
      print (n)
  
  else:
      while n1 != n:
          n2 = values[0] + values[1]
          values[0] = values[1]
          values[1] = n2
          n1 +=1
  
      print (n2)
  </code></pre>