title: While loop won't run in Python (beginner)?
body: <p>For some reason I'm having trouble getting my program to run a while loop.
  No error messages, just that it stops the program. I tried having it print "hi" as the first instruction, but it didn't, so I know it's not even running the loop. Here's a bit of code (Note: The testing for correct values works fine, but the loop won't use these correct values!)</p>
  
  <pre><code>print "current letter value:", letter_value
  
  print "letter:", letter
  
  print "number:", number
  
  while letter!="$" and number&lt;=5 and number&gt;=1:
      print "hi"
  </code></pre>
  
  <p>//all the stuff in here</p>
  
  <p>I know it <em>should</em> be an infinite loop, but it won't run at all!
  Input:
  letter is 'A'
  letter_value is 1
  numberis 1
  My loop ought to test to make sure that letter isn't $ and that the number is &lt;=5 and number >=1</p>