F-Strings in Python 3.6

Python 3's f-Strings: An Improved String Formatting Syntax

Chris Bailey

Chris Bailey 8 Lessons 22m
basics python

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.

About Chris Bailey

Chris 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 Hawaii with his wife and two dogs.

» More about Chris

Each tutorial at Real Python is created by a team of developers so that it meets our high quality standards. The team members who worked on this tutorial are:

Dan Bader

Dan

« Browse All Courses