Five wonderful uses of ‘f- Strings’ in Python
Learn about some of Python’s built-in methods that can be used on strings Photo by Paul Volkmer on Unsplash Before PEP 498 was introduced, Python had primarily three ways of formatting strings i.e. the %-formatting, str.format and the string.Template. In 2015, Eric V. Smith proposed a new string formatting mechanism known as Literal String Interpolation, which provided … Continue reading Five wonderful uses of ‘f- Strings’ in Python