O’Reilly – What are f-strings in Python and how can I use them
English | Size: 30.58 MB
In Python 3.6, a new method of formatting strings was introduced – f-strings. In this video, Aaron Maxwell covers what f-strings are and how you can work with them for common string formatting tasks.
Aaron takes you through progressively more complex examples of using f-strings to output your text. For developers working with Python 3.6 and higher, or planning to in the future, it is crucial to understand how f-strings compare to percent formatting and the str.format() method. [Read more…] about O’Reilly – What are f-strings in Python and how can I use them