Python F-Strings Quiz

Interactive Quiz ⋅ 9 Questions
By Kate Finegan

>>> F"Yes!" You’ve finished reading Python 3’s f-Strings: An Improved String Formatting Syntax (Guide), and you’re ready to test your knowledge. Well, you’re in the right place.

The quiz contains 9 questions and there is no time limit. You’ll get 1 point for each correct answer. At the end of the quiz, you’ll receive a total score. The maximum score is 100%. Good luck!

Related Resources

Course

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

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.

basics python

Tutorial

Python's F-String for String Interpolation and Formatting

Python's f-string provides a readable way to interpolate and format strings. They're readable, concise, and less prone to error than traditional string interpolation and formatting tools, such as the .format() method and the modulo operator (%). F-strings are also faster than those tools!

basics python