>>> print(f"foo {"bar"}") SyntaxError: f-string: expecting '}'
>>> print(f"foo {'bar'}") foo bar
Python 3.12.7 (main, Oct 3 2024, 15:15:22) [GCC 14.2.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> print(f"foo {"bar"}") foo bar