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

Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This beginner tutorial shows how to use Python f-strings to insert values into strings and apply formatting options. It compares f-strings with percent formatting and the .format() method, then applies them to a Rock Paper Scissors program.

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.