I added a space in there and it took the flag away. The rest of the print lines without the space are not flag. I'm wondering if this is a bug with the IDE or am I not understanding something?
This fixed the first line:
print("s: ", end="" )
UPDATE: I've logged back in this morning to find the invalid syntax flag is back even on my updated code. At this point I'm assuming it's a bug in the IDE.
ANOTHER UPDATE: I'm now starting to think my syntax check is using Python 2 and my terminal is using Python 3. That would explain why the code works but the syntax is flagged. I checked my Python version in the terminal and it came back 3.4.3.
python --version
So I guess now my question is how do I change that to use Python 3?
FINAL ANSWER: Click "CS50 IDE", Preferences, under Project Settings and then Project, there is "Python Support" click that, in the second box do the drop down to select Python 3.