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
Auf dieser Seite können Sie das Online-Video Python Tutorial mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Shams EduHub 01 Januar 1970 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 3 Mal angesehen und es wurde von 0 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!