DESCRIPTION
Python Tutorial #011 – String Formatting: f-Strings and Beyond
Session 11 of the complete Python course by Shams EduHub — the light of knowledge. In this session (Module 3: Working with Strings in Depth) you'll learn: f-string basics and expressions; Width, alignment, fill and precision; Thousands, percentages, scientific and = debugging; str.format() and % formatting; string.Template; Template string literals (t-strings).
CHAPTERS
0:00 Recap of Session 010
0:38 Today's questions
1:05 What you'll learn
1:30 1. f-string basics and expressions
2:40 2. Width, alignment, fill and precision
4:31 3. Thousands, percentages, scientific and = debugging
6:05 4. str.format() and % formatting
7:25 5. string.Template
8:36 6. Template string literals (t-strings)
10:59 Live demo: Invoice table · One message, four ways
12:55 Common mistakes
13:45 Quick quiz
14:29 Recap
15:12 Practice task
15:36 What's next
PRACTICE TASK
Mail merge: fill one letter template for three people. Share your work in the comments!
NEXT
Session 012 · Unicode, Bytes and Encodings
On this page of the site you can watch the video online Python Tutorial with a duration of hours minute second in good quality, which was uploaded by the user Shams EduHub 01 January 1970, share the link with friends and acquaintances, this video has already been watched 3 times on youtube and it was liked by 0 viewers. Enjoy your viewing!