Python f-strings: Everything you need to know! • datagy
https://datagy.io/python-f-strings06.02.2021 · Python f-strings, or formatted string literals, were introduced in Python 3.6. They’re called f-strings given that they are generated by placing an “f” in front of the quotation marks. What makes f-strings special is that they contain expressions in curly braces which are evaluated at run-time , allowing you large amounts of flexibility in how to use them!