Originally Posted by AndrewGSW
this syntax is incorrect, and
will always be true.
You should be able to fix this by reading any guide to comparison operators
I read the page and I was up until 04:30 doing it in almost every combination that I could figure. Then I wind up waking up out of frustration and trying more (or probably duplicate of this morning) and it still won't work.
I tried with the && . I tried without the && .
I tried spaces. I tried no spaces.
I tried parenthesis. I tried no parenthesis.
I even tried just <.01 and I catch hell from the debugger.
No matter WHAT I tried it just keeps giving me errors and won't even start the program. Grrr! Am I thinking the wrong way? Obviously but HOW am I thinking wrong? I don't want to keep guessing I want to understand and be able to think the solution out the right way.
Have you tried to see if you could get this program to work at all the right way?
WTH is the >>>illegal XML character<<< anyways?
This was my last shot at the bottom section and I got this error:
Error: SyntaxError: illegal XML character
Line: 43, Column: 9
Even on the comparison operator's page they have this:
14.if (hour<6 && hour>12) //&& logically compares truth of two values