While loop won't run in Python (beginner)?
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!)

print "current letter value:", letter_value

print "letter:", letter

print "number:", number

while letter!="$" and number<=5 and number>=1:
    print "hi"

//all the stuff in here
While loop won't run in Python (beginner)?
===

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!)

print "current letter value:", letter_value

print "letter:", letter

print "number:", number

while letter!="$" and number<=5 and number>=1:
    print "hi"

//all the stuff in here