I will need to look to be absolutely sure.This passes the test, however, I am having trouble with my error checking routing when incorrect entries are made. If I put the "
if choice != 'h' or 'l' or 'c':
Typically programming languages break down the If statements:
So a simple "if choice != 'h'" would resolve to "if true" or "if false" depending on what choice != 'h' turns out to be.
So if you want to combine multiple conditions, you typically have to do it like this:
"if choice != 'h' or choice != 'l' or ...."
That way it would be broken down into
"if true or false or ...."
Of course, there is an alternative
http://www.tutorialspoint.com/python/python_if_else.htm
If statements typically have additional keywords you can rely on.
Like "else"
Code:
If choice = 'h'
print "too high!"
Else
print "not too high"
Sometimes you can combine if and else in the same keyword.
Code:
If choice = 'h'
print "too high!"
Elif choice = 'l'
print "too low!"
Elif choice = 'c'
print "just right!"
Else
print "anything that didn't match above"
this is a little more detailed than I would have given sooner, but you already have an answer, so I'd help you with an additional tool.