Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Python f-Strings - Advanced String Formatting Tutorial for Beginners

Dave Gray via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Discover advanced string formatting techniques in Python with this comprehensive tutorial on f-strings. Learn how to format strings more efficiently and with additional options compared to traditional methods like concatenation, percent signs, or the string format method. Explore the modern approach to string formatting in Python through practical examples and real-world applications. Gain insights into passing format options and see how to implement f-strings in a Rock Paper Scissors game. Perfect for beginners looking to enhance their Python string manipulation skills.

Syllabus

Intro
Welcome
How We've Been Inserting Values into Strings
Formatting with percent signs
The .format method
Why move on to f-Strings?
f-Strings examples
Passing format options
Updating Rock Paper Scissors with f-Strings

Taught by

Dave Gray

Reviews

Start your review of Python f-Strings - Advanced String Formatting Tutorial for Beginners

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.