Error message despite correct output


#1

Can someone let me know why I keep getting an error message here? The output is coming out correctly, but the message insists that it isn't:
The error message is: Oops, try again. It looks like sleepCheck() isn't returning "You're getting plenty of sleep! Maybe even too much!" when numHours is 10. Check your if / else syntax and whether you're using the correct comparison operator."


#2

there's an un-needed hyphen between shut and eye.


#3

Thanks, I re-entered the code and the error disappeared.

Thanks for your help!