Thanks! Very helpful. Though I wondered where you found this documented. AFAICT, the link you provided (docs.python.org/3/library/string.html#format-string-syntax) doesn't cover f-strings but only the old-school strings. After searching a little… You might consider adding links to (a) 2.4.3. Formatted string literals (docs.python.org/3/reference/lexical_analysis.html#f-strings) and/or (b) PEP 498 – Literal String Interpolation
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Thanks! Very helpful. Though I wondered where you found this documented. AFAICT, the link you provided (docs.python.org/3/library/string.html#format-string-syntax) doesn't cover f-strings but only the old-school strings. After searching a little… You might consider adding links to (a) 2.4.3. Formatted string literals (docs.python.org/3/reference/lexical_analysis.html#f-strings) and/or (b) PEP 498 – Literal String Interpolation