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
Sur cette page du site, vous pouvez voir la vidéo en ligne Python Tutorial durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Shams EduHub 01 janvier 1970, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 3 fois et il a aimé 0 téléspectateurs. Bon visionnage!