Python f-Strings - Advanced String Formatting tutorial for beginners

Learn how to use Python f-strings to format your strings in a less verbose way and with extra string formatting options. You may have used concatenation, percent signs, or the string format method before, but f-Strings are the current modern way to format strings in Python.

Learn how to use f-strings, a new and powerful way to format strings in Python 3.6+. With f-strings, you can easily embed expressions inside strings, making your code more readable and concise. This tutorial will teach you everything you need to know about f-strings, from the basics to more advanced concepts.

📙 20 Best Python Books for Beginners and Experienced Coders

(00:00) Intro
(00:05) Welcome
(00:14) How We've Been Inserting Values into Strings
(01:21) Formatting with percent signs
(03:44) The .format() method
(04:30) Why move on to f-Strings?
(10:06) f-Strings examples
(13:38) Passing format options
(18:43) Updating Rock Paper Scissors with f-Strings

🔗 Source Code: https://github.com/gitdagray/python-course 

📚 Tutorial References:
🔗 Python Official Site: https://www.python.org/  
🔗 Visual Studio Code Official Site: https://code.visualstudio.com/ 
🔗 String Formatting Options: https://www.w3schools.com/python/ref_string_format.asp 

#python 

Python Tutorial for Beginners: f-Strings
1.90 GEEK