It is:
ython 2.7.18 (default, Sep 30 2020, 00:00:00) [GCC 10.2.1 20200723 (Red Hat 10.2.1-1)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> foo="bar" >>> print(f"foo {bar}") File "<stdin>", line 1 print(f"foo {bar}") ^ SyntaxError: invalid syntax
It is:
ython 2.7.18 (default, Sep 30 2020, 00:00:00)
^
[GCC 10.2.1 20200723 (Red Hat 10.2.1-1)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> foo="bar"
>>> print(f"foo {bar}")
File "<stdin>", line 1
print(f"foo {bar}")
SyntaxError: invalid syntax