As of Python 3.6, f-strings are a great new way to format strings. Not only are they more readable, more concise, and less prone to error than other ways of formatting, but they are also faster! By the end of this course, you’ll know how and why to start using f-strings today.
Python 3's f-Strings: An Improved String Formatting Syntax
Christopher Bailey
8 Lessons
22m
basics
python
Python 3's f-Strings: An Improved String Formatting Syntax
8 Lessons 22m
5. Multiline f-Strings 02:55
About Christopher Bailey
Chris is an avid Pythonista and creates video tutorials for Real Python. He is a programmer and data analyst. He creates music under the name Tripnet. Chris lives in Colorado with his wife and two dogs.
» More about ChristopherParticipant Comments
Phil M on Feb. 14, 2020
Excellent - thank you!
Pygator on Dec. 24, 2019
Always informative and right to the point Chris!
teodorwisniewski on Oct. 20, 2019
Thanks you Chris, it is very useful and allowed me to understand some messy syntaxes used by some developers around strings.
Mallesham Yamulla on Sept. 2, 2019
Many thanks for taking us though the concepts from Old String Formating to New F string formatting.. Highly recommended to the python folks…
Bomes on March 23, 2019
Great tutorial! Thanks
Andras Novoszath on March 16, 2019
Lol, this is ridiculously good! :)
DoubleA on Feb. 13, 2021
Thank you so much for the references. Going to check those out! Keep on delivering the great stuff! 🔥🔥🔥