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