SyntaxError: expected expression, ot keywork "if"


How do I copy and paste what I am working on to show you correctly?

Oops there was a problem with your syntax


The problem is you call


as part of your function for your code to work close your function and then call sleepCheck.



It still didn't work. But I only put in one }. Above, your example is:
I did not put one of them in. Also, this is sort of a test, as I pushed the print screen button then pasted it above, so I am curious to see if it will work.


The problem is the return statement in your else branch there shouldn't be a bracket after the string only a semi colon. :slight_smile:


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.