vs code exécuter python dans la syntaxe non valide du terminal

# type in terminal/console:
exit() 

'''
/usr/local/opt/python/bin/python3.7 /Users/andree/Desktop/test.py
  File "<stdin>", line 1
    /usr/local/opt/python/bin/python3.7 /Users/andree/Desktop/test.py
    ^
SyntaxError: invalid syntax
'''
Edi Sugiarto