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="" )
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.
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.
So I guess now my question is how do I change that to use Python 3?
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.