Please note this code is directly from a python book (2nd edition python crash course by eric mathes). When I run the code, it does compile though the regular python idle 3.7.5. However when I try to compile the code through the atom editor, it does not compile.
I've installed many python packages for atom editor, including python snippits, python tools, run-python-simply. But this still doesn't seem to compile.
first_name = "Adam"
last_name = "Scott"
full_name = f"{first_name}{last_name}"
print(full_name)
File "/Users/Adam/Desktop/full_name.py", line 3
full_name = f"{first_name}{last_name}"
^
SyntaxError: invalid syntax