F Strings Formatting Python | Step-By-Step Tutorial

preview_player
Показать описание
In this step-by-step tutorial, you'll learn how to use F Strings formatting in Python. While there are different ways of formatting strings in Python, F Strings formatting allows for shorter, intuitive, and easier-to-understand code. In addition, F Strings are faster than other string formatting methods.

#codelikealawyer #fstrings #pythonthelegalway

Chapters
0:00 What you will learn
0:11 Vignette
0:17 F-Strings definition
0:38 Why F-Strings are important
0:57 F-Strings Syntax
1:42 Writing code: Step-by-step evolution of string formatting
2:38 String output without formatting
3:24 Concatenating variables
6:17 Using placeholders and the .format() function
8:37 Using labels within place holders
11:15 Using F-Strings
13:32 Calling a function within an F-String
16:58 Next videos

Visit Code Like a Lawyer channel to check out other Python tutorials:

If you want to support this channel, check out these cool gift ideas at the:

Code Like a Lawyer Store:

Creative Commons Attribution-ShareAlike 3.0 Unported
Рекомендации по теме