This lesson concludes Python 3’s f-Strings: An Improved String Formatting Syntax. You’ll watch a review of everything you have learned in this course.
Congratulations, you made it to the end of the course! What’s your #1 takeaway or favorite thing you learned? How are you going to put your newfound skills to use? Leave a comment in the discussion section and let us know.
Jon David on Oct. 7, 2021
Thanks for this. I will be using f-strings from here on.
Feel free to laugh, my way of doing things before was to do like this:
print(‘This is the start ‘+str(variable_name)+’ and this is the end.’)
If you ask me, this is more like f-strings in terms of how it reads than either %-formatting or the .format method. Maybe that is why I was intuitively drawn to it!