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
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!