title: Creating two and one condition in a program
body: <p>I have a code that allows a user to choose between 3 options
  0- Beginner
  1- Intermediate
  2: Advanced</p>
  
  <p>The code I have is: </p>
  
  <pre><code>if inp == 0:
      out = "Beginner"
  
  elif inp == 1:
      out = "Intermediate"
  
  elif inp == 2:
      out = "Advanced"
  
  else:
      print("Invalid")
  </code></pre>
  
  <p>However, I'm wanting it so if a number greater than 3 was entered, it won't proceed to the second part.</p>
  
  <p>The second part of the code I have is:</p>
  
  <pre><code>x=float(input("Choose a number between [0,90]"))
  if x &gt; 0 and x &lt; 90:
      print("Is Latitude in the North or South Hemisphere?")
  else:
      print ("Invalid")
  </code></pre>
  
  <p>Can someone provide some insight into how the condition is supposed to be?
  Thank you!</p>