Oct-31-2019, 02:02 AM
what's really wrong with this f-string? the quotes look right so it must be the backslash.
Output:>>> a=432
>>> s=f'{a} "\{"'
File "<stdin>", line 1
SyntaxError: f-string: unterminated string
>>>