f-strings
PEP 498 introduced a new string formatting mechanism, known as F-strings or Literal String Interpolation, to simplify interpolation. By prefixing a string literal with the letter 'f', it becomes an f-string.
The str.format() method uses curly braces ...
code-11.hashnode.dev2 min read